public class PDType1Font extends PDSimpleFont
| Modifier and Type | Field and Description |
|---|---|
static ASAtom[] |
STANDARD_FONT_NAMES |
dictionary, encoding, fontDescriptor, fontProgram, isFontParsed, toUnicodeCMap| Constructor and Description |
|---|
PDType1Font(COSDictionary dictionary)
Constructor from type 1 font dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getDescriptorCharSet() |
FontProgram |
getFontProgram() |
Double |
getWidth(int code)
Gets width for glyph with given code in this font.
|
Boolean |
isStandard() |
toUnicodegetDefaultWidth, getDictionary, getDifferences, getDifferencesFromCosEncoding, getEncoding, getEncodingMapping, getEncodingMappingFromCOSObject, getFirstChar, getFontDescriptor, getFontFile2, getFontName, getLastChar, getName, getProgramSubtype, getSubtype, getType, 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 static final ASAtom[] STANDARD_FONT_NAMES
public PDType1Font(COSDictionary dictionary)
dictionary - is type 1 font dictionary.public Set<String> getDescriptorCharSet()
public FontProgram getFontProgram()
getFontProgram in class PDFontpublic Boolean isStandard()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.