CFFExpertCharset, CFFExpertSubsetCharset, CFFISOAdobeCharsetpublic abstract class CFFCharset
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
void |
addCID(int gid,
int cid) |
Adds a new GID/CID combination to the charset.
|
void |
addSID(int gid,
int sid,
java.lang.String name) |
Adds a new GID/SID/name combination to the charset.
|
int |
getCIDForGID(int gid) |
Returns the CID for the given GID.
|
int |
getGIDForCID(int cid) |
Returns the GID for a given CID.
|
java.lang.String |
getNameForGID(int gid) |
Returns the PostScript glyph name for the given GID.
|
boolean |
isCIDFont() |
Indicates if the charset belongs to a CID font.
|
public boolean isCIDFont()
public void addSID(int gid,
int sid,
java.lang.String name)
gid - GIDsid - SIDpublic void addCID(int gid,
int cid)
gid - GIDcid - CIDpublic int getGIDForCID(int cid)
cid - CIDpublic java.lang.String getNameForGID(int gid)
gid - GIDpublic int getCIDForGID(int gid)
gid - GIDCopyright © 2008–2018. All rights reserved.