|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.font.CMapMap
de.intarsys.pdf.font.CMapCharMap
de.intarsys.pdf.font.CMapBFCharNameMap
public class CMapBFCharNameMap
A special map from a character code to a character name.
Constructor Summary | |
---|---|
CMapBFCharNameMap(byte[] source,
COSName destination)
|
Method Summary | |
---|---|
COSName |
getDestination()
|
char[] |
toChars(int codepoint)
The string value for a CID or null if not applicable. |
int |
toCID(int codepoint)
The CID value for the codepoint or 0 if not applicable. |
int |
toCodepoint(int cid)
The codepoint for a CID or 0 if not applicable. |
Methods inherited from class de.intarsys.pdf.font.CMapCharMap |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMapBFCharNameMap(byte[] source, COSName destination)
Method Detail |
---|
public COSName getDestination()
public char[] toChars(int codepoint)
CMapMap
toChars
in class CMapMap
public int toCID(int codepoint)
CMapMap
With /ToUnicode maps, this is used to get a UTF_16BE encoded unicode value for a codepoint.
toCID
in class CMapMap
codepoint
- The (encoded) codepoint value.
public int toCodepoint(int cid)
CMapMap
toCodepoint
in class CMapMap
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |