public class PDCIDFontType2Font extends PDCIDFont
cmap, cmapObjects, font, fontMatrix, resourceRootCMAP, toUnicodeCmap| Constructor and Description |
|---|
PDCIDFontType2Font()
Constructor.
|
PDCIDFontType2Font(COSDictionary fontDictionary)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Font |
getawtFont()
Looks up, creates, returns the AWT Font.
|
boolean |
hasCIDToGIDMap()
Indicates if this font has a CIDToGIDMap.
|
int |
mapCIDToGID(int cid)
Maps the given CID to the correspondent GID.
|
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 PDCIDFontType2Font()
public PDCIDFontType2Font(COSDictionary fontDictionary)
fontDictionary - The font dictionary according to the PDF specification.public Font getawtFont() throws IOException
getawtFont in class PDSimpleFontIOException - if something went wrong.public boolean hasCIDToGIDMap()
public int mapCIDToGID(int cid)
cid - the given CIDCopyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.