| Modifier and Type | Class and Description |
|---|---|
| private class | CFFType1Font.
Private implementation of Type1CharStringReader, because only CFFType1Font can expose this publicly, as CIDFonts only support this for legacy 'seac' commands. |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private Type2CharStringParser | |
| private int | |
| private CFFEncoding | |
| private byte[][] | |
| private int | |
| private final Map | |
| private final CFFType1Font. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addToPrivateDict(String
the given key name, Object the given value value)Adds the given key/value pair to the private dictionary. |
| private int | |
| public CFFEncoding | Returns: the encodingImplements org. Returns the CFFEncoding of the font. |
| private byte[][] | |
| private int | |
| private Type2CharStringParser | |
| public GeneralPath | getPath(String
PostScript glyph name name)Implements org. Returns the path for the character with the given name. |
| public Map | |
| private Object | |
| public Type1CharString | Returns: Type1 charstring of the given PostScript glyph namePostScript glyph name name)Returns the Type 1 charstring for the given PostScript glyph name. |
| public Type2CharString | getType2CharString(int
GID gid)Implements abstract org. Returns the Type 1 charstring for the given GID. |
| private Type2CharString | |
| public float | getWidth(String
PostScript glyph name name)Implements org. Returns the advance width for the character with the given name. |
| public boolean | hasGlyph(String
PostScript glyph name name)Implements org. Returns true if the font contains the given glyph. |
| public int | |
| pack-priv void |
| charStringCache | back to summary |
|---|---|
| private final Map<Integer, Type2CharString> charStringCache | |
| charStringParser | back to summary |
|---|---|
| private Type2CharStringParser charStringParser | |
| defaultWidthX | back to summary |
|---|---|
| private int defaultWidthX | |
| encoding | back to summary |
|---|---|
| private CFFEncoding encoding | |
| localSubrIndex | back to summary |
|---|---|
| private byte[][] localSubrIndex | |
| nominalWidthX | back to summary |
|---|---|
| private int nominalWidthX | |
| privateDict | back to summary |
|---|---|
| private final Map<String, Object> privateDict | |
| reader | back to summary |
|---|---|
| private final CFFType1Font. | |
| CFFType1Font | back to summary |
|---|---|
| public CFFType1Font() | |
| addToPrivateDict | back to summary |
|---|---|
| pack-priv void addToPrivateDict(String name, Object value) Adds the given key/value pair to the private dictionary. | |
| getDefaultWidthX | back to summary |
|---|---|
| private int getDefaultWidthX() | |
| getEncoding | back to summary |
|---|---|
| public CFFEncoding getEncoding() Implements org. Returns the CFFEncoding of the font.
| |
| getLocalSubrIndex | back to summary |
|---|---|
| private byte[][] getLocalSubrIndex() | |
| getNominalWidthX | back to summary |
|---|---|
| private int getNominalWidthX() | |
| getParser | back to summary |
|---|---|
| private Type2CharStringParser getParser() | |
| getPath | back to summary |
|---|---|
| public GeneralPath getPath(String name) throws IOException Implements org. Doc from org. Returns the path for the character with the given name.
| |
| getPrivateDict | back to summary |
|---|---|
| public Map Returns the private dictionary. | |
| getProperty | back to summary |
|---|---|
| private Object getProperty(String name) | |
| getType1CharString | back to summary |
|---|---|
| public Type1CharString getType1CharString(String name) throws IOException Returns the Type 1 charstring for the given PostScript glyph name.
| |
| getType2CharString | back to summary |
|---|---|
| public Type2CharString getType2CharString(int gid) throws IOException Implements abstract org. Returns the Type 1 charstring for the given GID.
| |
| getType2CharString | back to summary |
|---|---|
| private Type2CharString getType2CharString(int gid, String name) throws IOException | |
| getWidth | back to summary |
|---|---|
| public float getWidth(String name) throws IOException Implements org. Doc from org. Returns the advance width for the character with the given name.
| |
| hasGlyph | back to summary |
|---|---|
| public boolean hasGlyph(String name) Implements org. Doc from org. Returns true if the font contains the given glyph. | |
| nameToGID | back to summary |
|---|---|
| public int nameToGID(String name) Returns the GID for the given PostScript glyph name.
| |
| setEncoding | back to summary |
|---|---|
| pack-priv void setEncoding(CFFEncoding encoding) Sets the CFFEncoding of the font.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Type1CharString | getType1CharString(String
the character name of the Type1 charstring name)Implements org. Returns the Type 1 CharString for the character with the given name. |
| PrivateType1CharStringReader | back to summary |
|---|---|
| private PrivateType1CharStringReader() | |
| getType1CharString | back to summary |
|---|---|
| public Type1CharString getType1CharString(String name) throws IOException Implements org. Doc from org. Returns the Type 1 CharString for the character with the given name.
| |