public class PdfType1Font extends PdfSimpleFont<Type1Font>
fontEncoding, forceWidthsOutput, shortTagembedded, emptyBytes, fontProgram, newFont, notdefGlyphs, subset, subsetRanges| Modifier and Type | Method and Description |
|---|---|
protected void |
addFontStream(PdfDictionary fontDescriptor)
If the embedded flag is false or if the font is one of the 14 built in types, it returns null, otherwise the font is read and output in a PdfStream object.
|
void |
flush() |
Glyph |
getGlyph(int unicode) |
protected boolean |
isBuiltInFont() |
boolean |
isSubset()
Indicates if all the glyphs and widths for that particular encoding should be included in the document.
|
void |
setSubset(boolean subset)
Indicates if all the glyphs and widths for that particular encoding should be included in the document.
|
convertToBytes, convertToBytes, convertToBytes, createGlyphLine, decode, flushFontData, getContentWidth, getFontDescriptor, getFontEncoding, getFontProgram, isForceWidthsOutput, setFontProgram, setForceWidthsOutput, writeText, writeTextaddSubsetRange, checkFontDictionary, checkTrueTypeFontDictionary, checkTrueTypeFontDictionary, compactRanges, containsGlyph, createSubsetPrefix, getAscent, getAscent, getDescent, getDescent, getFontMatrix, getPdfFontStream, getWidth, getWidth, getWidth, getWidth, isEmbedded, isWrappedObjectMustBeIndirect, splitString, writeTextensureObjectIsAddedToDocument, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidReleasepublic boolean isSubset()
PdfFont
public void setSubset(boolean subset)
PdfFont
true only the glyphs used will be included in the font. When set to false and PdfFont.addSubsetRange(int[]) was not called the full font will be included otherwise just the characters ranges will be included.
public void flush()
flush in class PdfObjectWrapper<PdfDictionary>
protected boolean isBuiltInFont()
isBuiltInFont in class PdfSimpleFont<Type1Font>
protected void addFontStream(PdfDictionary fontDescriptor)
false or if the font is one of the 14 built in types, it returns null, otherwise the font is read and output in a PdfStream object.
addFontStream in class PdfSimpleFont<Type1Font>
Copyright © 1998–2016 iText Group NV. All rights reserved.