| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | addCID(int
GID gid, int CID cid)Implements org. Adds a new GID/CID combination to the charset. |
| public void | addSID(int
GID gid, int SID sid, String the postscript name of the glyph name)Implements org. Adds a new GID/SID/name combination to the charset. |
| public int | getCIDForGID(int
GID gid)Implements org. Returns the CID for the given GID. |
| public int | getGIDForCID(int
CID cid)Implements org. Returns the GID for a given CID. |
| public int | getGIDForSID(int
SID sid)Implements org. Returns the GID for the given SID. |
| public String | getNameForGID(int
GID gid)Implements org. Returns the PostScript glyph name for the given GID. |
| public int | getSID(String
PostScript glyph name name)Implements org. Returns the SID for a given PostScript name, you would think this is not needed, but some fonts have glyphs beyond their encoding with charset SID names. |
| public int | getSIDForGID(int
GID sid)Implements org. Returns the SID for a given GID. |
| public boolean | isCIDFont()
Implements org. Indicates if the charset belongs to a CID font. |
| EXCEPTION_MESSAGE | back to summary |
|---|---|
| private static final String EXCEPTION_MESSAGE | |
| gidToCid | back to summary |
|---|---|
| private final Map<Integer, Integer> gidToCid | |
| sidOrCidToGid | back to summary |
|---|---|
| private final Map<Integer, Integer> sidOrCidToGid | |
| CFFCharsetCID | back to summary |
|---|---|
| pack-priv CFFCharsetCID() | |
| addCID | back to summary |
|---|---|
| public void addCID(int gid, int cid) Implements org. Doc from org. Adds a new GID/CID combination to the charset.
| |
| addSID | back to summary |
|---|---|
| public void addSID(int gid, int sid, String name) Implements org. Doc from org. Adds a new GID/SID/name combination to the charset. | |
| getCIDForGID | back to summary |
|---|---|
| public int getCIDForGID(int gid) Implements org. Doc from org. Returns the CID for the given GID.
| |
| getGIDForCID | back to summary |
|---|---|
| public int getGIDForCID(int cid) Implements org. Doc from org. Returns the GID for a given CID. Returns 0 if the CID is missing.
| |
| getGIDForSID | back to summary |
|---|---|
| public int getGIDForSID(int sid) Implements org. Doc from org. Returns the GID for the given SID. SIDs are internal to the font and are not public.
| |
| getNameForGID | back to summary |
|---|---|
| public String getNameForGID(int gid) Implements org. Doc from org. Returns the PostScript glyph name for the given GID. | |
| getSID | back to summary |
|---|---|
| public int getSID(String name) Implements org. Doc from org. Returns the SID for a given PostScript name, you would think this is not needed, but some fonts have glyphs beyond their encoding with charset SID names. | |
| getSIDForGID | back to summary |
|---|---|
| public int getSIDForGID(int sid) Implements org. Doc from org. Returns the SID for a given GID. SIDs are internal to the font and are not public.
| |
| isCIDFont | back to summary |
|---|---|
| public boolean isCIDFont() Implements org. Doc from org. Indicates if the charset belongs to a CID font.
| |