| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public int | |
| public int | |
| public int | |
| public String | Returns: PostScript glyph nameGID gid)Returns the PostScript glyph name for the given GID. |
| public int | |
| public int | |
| public boolean |
| addCID | back to summary |
|---|---|
| public void addCID(int gid, int cid) Adds a new GID/CID combination to the charset.
| |
| addSID | back to summary |
|---|---|
| public void addSID(int gid, int sid, String name) Adds a new GID/SID/name combination to the charset.
| |
| getCIDForGID | back to summary |
|---|---|
| public int getCIDForGID(int gid) Returns the CID for the given GID.
| |
| getGIDForCID | back to summary |
|---|---|
| public int getGIDForCID(int cid) Returns the GID for a given CID. Returns 0 if the CID is missing.
| |
| getGIDForSID | back to summary |
|---|---|
| public int getGIDForSID(int sid) 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) Returns the PostScript glyph name for the given GID.
| |
| getSID | back to summary |
|---|---|
| public int getSID(String name) 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 gid) Returns the SID for a given GID. SIDs are internal to the font and are not public.
| |
| isCIDFont | back to summary |
|---|---|
| public boolean isCIDFont() Indicates if the charset belongs to a CID font.
| |