public class Type2CharString extends Type1CharString
commandCount, type1Sequence
Constructor and Description |
---|
Type2CharString(Type1CharStringReader font,
String fontName,
String glyphName,
int gid,
List<Object> sequence,
int defaultWidthX,
int nomWidthX)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getGID()
Return the GID (glyph id) of this charstring.
|
List<Object> |
getType2Sequence()
Returns the Type 2 charstring sequence.
|
getBounds, getName, getPath, getType1Sequence, getWidth, toString
public Type2CharString(Type1CharStringReader font, String fontName, String glyphName, int gid, List<Object> sequence, int defaultWidthX, int nomWidthX)
font
- Parent CFF fontfontName
- font nameglyphName
- glyph name (or CID as hex string)gid
- GIDsequence
- Type 2 char string sequencedefaultWidthX
- default widthnomWidthX
- nominal widthCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.