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) |
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.
|
toUnicodegetDefaultWidth, getDictionary, getDifferences, getDifferencesFromCosEncoding, getEncoding, getEncodingMapping, getEncodingMappingFromCOSObject, getFirstChar, getFontDescriptor, getFontFile2, getFontName, 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)
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–2017 The veraPDF Consortium. All rights reserved.