|
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.CMapCIDCharCodeMap
public class CMapCIDCharCodeMap
A special map from a character code to a CID.
Constructor Summary | |
---|---|
CMapCIDCharCodeMap(byte[] source,
int destination)
|
Method Summary | |
---|---|
int |
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 CMapCIDCharCodeMap(byte[] source, int destination)
Method Detail |
---|
public int 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 |