public class PDType3Font extends PDSimpleFont
dictionary, encoding, fontDescriptor, fontProgram, isFontParsed, toUnicodeCMap| Constructor and Description |
|---|
PDType3Font(COSDictionary dictionary) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCharString(int code)
Checks if char proc dictionary contains char proc for glyph with given
code.
|
COSDictionary |
getCharProcDict() |
double[] |
getFontBoundingBox() |
double[] |
getFontMatrix() |
FontProgram |
getFontProgram() |
String |
getName() |
PDResources |
getResources() |
float |
getWidthFromProgram(int code)
Gets width of given code from font program.
|
boolean |
glyphIsPresent(int code)
Checks if glyph for given code is present in this font.
|
toUnicodecMapToUnicode, getDefaultWidth, getDictionary, getDifferences, getDifferencesFromCosEncoding, getEncoding, getEncodingMapping, getFirstChar, getFontDescriptor, getLastChar, getProgramSubtype, getSubtype, getType, getWidth, getWidths, isSubset, isSuccessfullyParsed, isSymbolic, readCode, setSuccessfullyParsedisInherited, setInheritedclear, empty, getBooleanKey, getIntegerKey, getKey, getNameKey, getObject, getRealKey, getStringKey, knownKey, removeKey, setBooleanKey, setIntegerKey, setKey, setNameKey, setObject, setObject, setStringKey, updateFromObject, updateToObjectpublic PDType3Font(COSDictionary dictionary)
public COSDictionary getCharProcDict()
public FontProgram getFontProgram()
getFontProgram in class PDFontpublic PDResources getResources()
public String getName()
public boolean containsCharString(int code)
code - is the code of glyph.public double[] getFontBoundingBox()
public double[] getFontMatrix()
public float getWidthFromProgram(int code)
PDFontgetWidthFromProgram in class PDFontcode - is code of character in strings to display.public boolean glyphIsPresent(int code)
PDFontglyphIsPresent in class PDFontcode - is code for glyph in this font.Copyright © 2015–2018 The veraPDF Consortium. All rights reserved.