Class CIDWArray

java.lang.Object
org.verapdf.pd.font.CIDWArray

public class CIDWArray extends Object
Represents W array in CID fonts.
Author:
Sergey Shemyakov
  • Constructor Details

    • CIDWArray

      public CIDWArray(COSArray w)
      Constructor from a COSObject.
      Parameters:
      w - is W array from CIDFont dictionary.
  • Method Details

    • getWidth

      public Double getWidth(int cid)
      Get width of glyph with given cid according to W array.
      Parameters:
      cid - is cid of glyph in CIDFont.
      Returns:
      width as it is specified in W array.