|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.font.PDFont
org.apache.pdfbox.pdmodel.font.PDSimpleFont
org.apache.pdfbox.pdmodel.font.PDCIDFont
org.apache.pdfbox.pdmodel.font.PDCIDFontType0Font
public class PDCIDFontType0Font
This is implementation of the CIDFontType0 Font.
Field Summary |
---|
Fields inherited from class org.apache.pdfbox.pdmodel.font.PDFont |
---|
cmap, cmapObjects, font, fontMatrix, resourceRootCMAP, toUnicodeCmap |
Constructor Summary | |
---|---|
PDCIDFontType0Font()
Constructor. |
|
PDCIDFontType0Font(COSDictionary fontDictionary)
Constructor. |
Method Summary | |
---|---|
java.awt.Font |
getawtFont()
Returns the AWT font that corresponds with this CIDFontType0 font. |
Methods inherited from class org.apache.pdfbox.pdmodel.font.PDCIDFont |
---|
determineEncoding, encode, getAverageFontWidth, getDefaultWidth, getFontBoundingBox, getFontHeight, getFontWidth, getFontWidth, setDefaultWidth |
Methods inherited from class org.apache.pdfbox.pdmodel.font.PDSimpleFont |
---|
drawString, getSpaceWidth, getToUnicode, isFontSubstituted, setIsFontSubstituted, setToUnicode, writeFont |
Methods inherited from class org.apache.pdfbox.pdmodel.font.PDFont |
---|
clearResources, cmapEncoding, drawString, encodeToCID, equals, getAFM, getAverageFontWidthFromAFMFile, getBaseFont, getCodeFromArray, getCOSObject, getEncoding, getFirstChar, getFontDescriptor, getFontEncoding, getFontMatrix, getFontWidthFromAFMFile, getLastChar, getStringWidth, getSubType, getType, getWidths, hashCode, hasToUnicode, isType0Font, isType1Font, parseCmap, setBaseFont, setEncoding, setFirstChar, setFontDescriptor, setFontEncoding, setHasToUnicode, setLastChar, setWidths |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDCIDFontType0Font()
public PDCIDFontType0Font(COSDictionary fontDictionary)
fontDictionary
- The font dictionary according to the PDF specification.Method Detail |
---|
public java.awt.Font getawtFont() throws java.io.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 PDSimpleFont
null
if not available
java.io.IOException
- if something went wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |