public abstract class CFFCharset extends Object
Modifier and Type | Method and Description |
---|---|
void |
addCID(int gid,
int cid)
Adds a new GID/CID combination to the charset.
|
void |
addSID(int gid,
int sid,
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.
|
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, String name)
gid
- GIDsid
- SIDpublic void addCID(int gid, int cid)
gid
- GIDcid
- CIDpublic int getGIDForCID(int cid)
cid
- CIDpublic String getNameForGID(int gid)
gid
- GIDpublic int getCIDForGID(int gid)
gid
- GIDCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.