|
||||||||||
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.PDType1Font
org.apache.pdfbox.pdmodel.font.PDType1AfmPfbFont
public class PDType1AfmPfbFont
This is implementation of the Type1 Font with a afm and a pfb file.
Field Summary |
---|
Fields inherited from class org.apache.pdfbox.pdmodel.font.PDType1Font |
---|
COURIER, COURIER_BOLD, COURIER_BOLD_OBLIQUE, COURIER_OBLIQUE, HELVETICA, HELVETICA_BOLD, HELVETICA_BOLD_OBLIQUE, HELVETICA_OBLIQUE, SYMBOL, TIMES_BOLD, TIMES_BOLD_ITALIC, TIMES_ITALIC, TIMES_ROMAN, ZAPF_DINGBATS |
Fields inherited from class org.apache.pdfbox.pdmodel.font.PDFont |
---|
cmap, cmapObjects, font, fontMatrix, resourceRootCMAP, toUnicodeCmap |
Constructor Summary | |
---|---|
PDType1AfmPfbFont(PDDocument doc,
java.io.InputStream afm,
java.io.InputStream pfb)
Create a new object. |
|
PDType1AfmPfbFont(PDDocument doc,
java.lang.String afmname)
Create a new object. |
Method Summary |
---|
Methods inherited from class org.apache.pdfbox.pdmodel.font.PDType1Font |
---|
determineEncoding, encode, encodeToCID, getawtFont, getFontMatrix, getStandard14Names, getStandardFont |
Methods inherited from class org.apache.pdfbox.pdmodel.font.PDSimpleFont |
---|
drawString, getAverageFontWidth, getFontBoundingBox, getFontHeight, getFontWidth, getSpaceWidth, getToUnicode, isFontSubstituted, setIsFontSubstituted, setToUnicode, writeFont |
Methods inherited from class org.apache.pdfbox.pdmodel.font.PDFont |
---|
clearResources, cmapEncoding, drawString, equals, getAFM, getAverageFontWidthFromAFMFile, getBaseFont, getCodeFromArray, getCOSObject, getEncoding, getFirstChar, getFontDescriptor, getFontEncoding, getFontWidth, 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 PDType1AfmPfbFont(PDDocument doc, java.lang.String afmname) throws java.io.IOException
doc
- The PDF document that will hold the embedded font.afmname
- The font filename.
java.io.IOException
- If there is an error loading the data.public PDType1AfmPfbFont(PDDocument doc, java.io.InputStream afm, java.io.InputStream pfb) throws java.io.IOException
doc
- The PDF document that will hold the embedded font.afm
- The afm input.pfb
- The pfb input.
java.io.IOException
- If there is an error loading the data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |