public class PDType1AfmPfbFont extends 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
cmap, cmapObjects, font, fontMatrix, resourceRootCMAP, toUnicodeCmap
Constructor and Description |
---|
PDType1AfmPfbFont(PDDocument doc,
InputStream afm,
InputStream pfb)
Create a new object.
|
PDType1AfmPfbFont(PDDocument doc,
String afmname)
Create a new object.
|
determineEncoding, encode, encodeToCID, getawtFont, getFontMatrix, getStandard14Names, getStandardFont
drawString, getAverageFontWidth, getFontBoundingBox, getFontHeight, getFontWidth, getSpaceWidth, getToUnicode, isFontSubstituted, setIsFontSubstituted, setToUnicode, writeFont
clearResources, cmapEncoding, drawString, equals, getAFM, getAverageFontWidthFromAFMFile, getBaseFont, getCodeFromArray, getCOSObject, getEncoding, getFirstChar, getFontDescriptor, getFontEncoding, getFontWidth, getFontWidthFromAFMFile, getLastChar, getStringWidth, getSubType, getToUnicodeCMap, getType, getWidths, hashCode, hasToUnicode, isSymbolicFont, isType0Font, isType1Font, isType3Font, parseCmap, setBaseFont, setEncoding, setFirstChar, setFontDescriptor, setFontEncoding, setHasToUnicode, setLastChar, setWidths
public PDType1AfmPfbFont(PDDocument doc, String afmname) throws IOException
doc
- The PDF document that will hold the embedded font.afmname
- The font filename.IOException
- If there is an error loading the data.public PDType1AfmPfbFont(PDDocument doc, InputStream afm, InputStream pfb) throws IOException
doc
- The PDF document that will hold the embedded font.afm
- The afm input.pfb
- The pfb input.IOException
- If there is an error loading the data.Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.