private static class CFFParser.Format1Charset extends CFFParser.EmbeddedCharset
Modifier and Type | Field and Description |
---|---|
private int |
format |
private java.util.List<CFFParser.RangeMapping> |
rangesCID2GID |
Modifier | Constructor and Description |
---|---|
protected |
Format1Charset(boolean isCIDFont) |
Modifier and Type | Method and Description |
---|---|
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 |
toString() |
addCID, addSID, getGIDForSID, getNameForGID, getSID, getSIDForGID, isCIDFont
private int format
private java.util.List<CFFParser.RangeMapping> rangesCID2GID
public int getCIDForGID(int gid)
CFFCharset
getCIDForGID
in class CFFCharset
gid
- GIDpublic int getGIDForCID(int cid)
CFFCharset
getGIDForCID
in class CFFCharset
cid
- CIDpublic java.lang.String toString()
toString
in class java.lang.Object