Package org.verapdf.pd.font.cmap
Class PDCMap
java.lang.Object
org.verapdf.pd.PDObject
org.verapdf.pd.font.cmap.PDCMap
Represents CMap on PD layer.
- Author:
- Sergey Shemyakov
-
Constructor Summary
-
Method Summary
Methods inherited from class org.verapdf.pd.PDObject
clear, empty, getBooleanKey, getIntegerKey, getKey, getNameKey, getNameKeyStringValue, getObject, getRealKey, getStringKey, knownKey, removeKey, setBooleanKey, setIntegerKey, setKey, setNameKey, setObject, setObject, setStringKey, updateFromObject, updateToObject
-
Constructor Details
-
PDCMap
Constructor from COSObject.- Parameters:
cMap
- is COSStream containing CMap or COSName containing name of predefined CMap.
-
-
Method Details
-
getCMapName
- Returns:
- name of this CMap.
-
getCMapID
-
getcMap
- Returns:
- COSObject, representing this CMap.
-
getCMapFile
- Returns:
- CMap file object read from stream or loaded from predefined CMap file or null if load failed.
-
getRegistry
- Returns:
- Registry value from CMap CIDSystemInfo dictionary.
-
getOrdering
- Returns:
- Ordering value from CMap CIDSystemInfo dictionary.
-
getSupplement
- Returns:
- Supplement value from CMap CIDSystemInfo dictionary.
-
getUseCMap
- Returns:
- COSObject of the referenced cMap.
-
toUnicode
Gets Unicode value for this code. -
isIdentity
public boolean isIdentity()Checks if this cMap is identity.
-