public class PDType0Font extends PDCIDFont
dictionary, encoding, fontDescriptor, fontProgram, isFontParsed, toUnicodeCMap| Constructor and Description |
|---|
PDType0Font(COSDictionary dictionary)
Constructs PD Type 0 font from font dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
PDCMap |
getCMap() |
COSDictionary |
getDescendantFont() |
COSObject |
getDescendantFontObject() |
COSObject |
getObject() |
ASAtom |
getSubtype() |
COSDictionary |
getType0FontDict() |
void |
setFontProgramFromDescendant(PDCIDFont descendant)
Updates font program information from descendant CID font.
|
int |
toCID(int code)
Gets CID value for given character code from this font.
|
String |
toUnicode(int code)
This method maps character code to a Unicode value.
|
getCIDSet, getCIDSystemInfo, getCIDToGIDMap, getDefaultWidth, getFontProgram, getWidth, getWidthFromProgram, glyphIsPresent, readCodecMapToUnicode, getDictionary, getDifferences, getDifferencesFromCosEncoding, getEncoding, getEncodingMapping, getFirstChar, getFontDescriptor, getLastChar, getName, getProgramSubtype, getType, getWidths, isSubset, isSuccessfullyParsed, isSymbolic, setSuccessfullyParsedisInherited, setInheritedclear, empty, getBooleanKey, getIntegerKey, getKey, getNameKey, getRealKey, getStringKey, knownKey, removeKey, setBooleanKey, setIntegerKey, setKey, setNameKey, setObject, setObject, setStringKey, updateFromObject, updateToObjectpublic PDType0Font(COSDictionary dictionary)
dictionary - public PDCMap getCMap()
public COSObject getDescendantFontObject()
public COSDictionary getDescendantFont()
public String toUnicode(int code)
public void setFontProgramFromDescendant(PDCIDFont descendant)
descendant - is descendant CID font for this Type 0 font.public COSDictionary getType0FontDict()
public ASAtom getSubtype()
getSubtype in class PDFontpublic int toCID(int code)
code - is character code.Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.