public class PDCIDFontType0Font extends PDCIDFont
cmap, cmapObjects, font, fontMatrix, resourceRootCMAP, toUnicodeCmap| Constructor and Description |
|---|
PDCIDFontType0Font()
Constructor.
|
PDCIDFontType0Font(COSDictionary fontDictionary)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Font |
getawtFont()
Returns the AWT font that corresponds with this CIDFontType0 font.
|
clear, determineEncoding, encode, getAverageFontWidth, getDefaultWidth, getFontBoundingBox, getFontHeight, getFontWidth, getFontWidth, setDefaultWidthdrawString, getSpaceWidth, getToUnicode, isFontSubstituted, setIsFontSubstituted, setToUnicode, writeFontclearResources, cmapEncoding, drawString, encodeToCID, equals, getAFM, getAverageFontWidthFromAFMFile, getBaseFont, getCodeFromArray, getCOSObject, getEncoding, getFirstChar, getFontDescriptor, getFontEncoding, getFontMatrix, getFontWidthFromAFMFile, getLastChar, getStringFromArray, getStringWidth, getSubType, getToUnicodeCMap, getType, getWidths, hashCode, hasToUnicode, isSymbolicFont, isType0Font, isType1Font, isType3Font, parseCmap, setBaseFont, setEncoding, setFirstChar, setFontDescriptor, setFontEncoding, setHasToUnicode, setLastChar, setWidthspublic PDCIDFontType0Font()
public PDCIDFontType0Font(COSDictionary fontDictionary)
fontDictionary - The font dictionary according to the PDF specification.public Font getawtFont() throws IOException
PDType1CFont class. Ideally
the embedded font would be used always if available, but since the
code doesn't work correctly for all fonts yet we opt to use the
system font by default.getawtFont in class PDSimpleFontnull if not availableIOException - if something went wrong.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.