Package com.itextpdf.io.font.cmap
Class CMapCidUni
java.lang.Object
com.itextpdf.io.font.cmap.AbstractCMap
com.itextpdf.io.font.cmap.CMapCidUni
Maps CIDs to Unicode code points.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.itextpdf.io.font.cmap.AbstractCMap
decodeStringToByte, getName, getOrdering, getRegistry, getSupplement, toUnicodeString
-
Constructor Details
-
CMapCidUni
public CMapCidUni()
-
-
Method Details
-
lookup
public int lookup(int character) Looks up the Unicode code point assigned to a CID.- Parameters:
-
character- the character identifier - Returns:
-
the mapped Unicode code point, or
0when absent
-
getCids
public int[] getCids()Returns the CIDs that have Unicode mappings.- Returns:
- a newly created array of mapped CIDs
-