Package org.apache.fontbox.cff
Class CIDKeyedType2CharString
- java.lang.Object
-
- org.apache.fontbox.cff.Type1CharString
-
- org.apache.fontbox.cff.Type2CharString
-
- org.apache.fontbox.cff.CIDKeyedType2CharString
-
public class CIDKeyedType2CharString extends Type2CharString
A CID-Keyed Type 2 CharString.
-
-
Field Summary
Fields Modifier and Type Field Description private int
cid
-
Fields inherited from class org.apache.fontbox.cff.Type1CharString
commandCount, type1Sequence
-
-
Constructor Summary
Constructors Constructor Description CIDKeyedType2CharString(Type1CharStringReader font, java.lang.String fontName, int cid, int gid, java.util.List<java.lang.Object> sequence, int defaultWidthX, int nomWidthX)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCID()
Returns the CID (character id) of this charstring.-
Methods inherited from class org.apache.fontbox.cff.Type2CharString
getGID, getType2Sequence
-
Methods inherited from class org.apache.fontbox.cff.Type1CharString
getBounds, getName, getPath, getType1Sequence, getWidth, toString
-
-
-
-
Constructor Detail
-
CIDKeyedType2CharString
public CIDKeyedType2CharString(Type1CharStringReader font, java.lang.String fontName, int cid, int gid, java.util.List<java.lang.Object> sequence, int defaultWidthX, int nomWidthX)
Constructor.- Parameters:
font
- Parent CFF fontfontName
- font namecid
- CIDgid
- GIDsequence
- Type 2 char string sequencedefaultWidthX
- default widthnomWidthX
- nominal width
-
-