java.lang.Object
org.verapdf.pd.font.CIDW2Array
Represents W2 array in CID fonts.
- Author:
- Vladimir Burshnev
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDisplacement(int cid) Get vertical component of the displacement vector of glyph with given cid according to W2 array.
-
Constructor Details
-
CIDW2Array
Constructor from a COSObject.- Parameters:
w2- is W2 array from CIDFont dictionary.
-
-
Method Details
-
getDisplacement
Get vertical component of the displacement vector of glyph with given cid according to W2 array.- Parameters:
cid- is cid of glyph in CIDFont.- Returns:
- width as it is specified in W2 array.
-