Package com.itextpdf.kernel.font
Class DocTrueTypeFont
java.lang.Object
com.itextpdf.io.font.FontProgram
com.itextpdf.io.font.TrueTypeFont
com.itextpdf.kernel.font.DocTrueTypeFont
-
Field Summary
Fields inherited from class com.itextpdf.io.font.TrueTypeFont
bBoxes, isVertical, kerningFields inherited from class com.itextpdf.io.font.FontProgram
avgWidth, codeToGlyph, DEFAULT_WIDTH, encodingScheme, fontIdentification, fontMetrics, fontNames, HORIZONTAL_SCALING_FACTOR, isFontSpecific, registry, unicodeToGlyph, UNITS_NORMALIZATION -
Method Summary
Modifier and TypeMethodDescriptionintbooleanisBuiltWith(String fontName) Returns false, because we cannot rely on an actual font subset and font name.Methods inherited from class com.itextpdf.io.font.TrueTypeFont
close, getActiveCmap, getCodePagesSupported, getDirectoryOffset, getFontStreamBytes, getGdefTable, getGposTable, getGsubTable, getKerning, getNumberOfCmaps, getPdfFontFlags, getSubset, hasKernPairs, isCff, isCmapPresent, mapGlyphsCidsToGids, readGdefTable, readGposTable, readGsubTable, updateUsedGlyphsMethods inherited from class com.itextpdf.io.font.FontProgram
convertGlyphSpaceToTextSpace, convertGlyphSpaceToTextSpace, convertGlyphSpaceToTextSpace, convertTextSpaceToGlyphSpace, countOfGlyphs, fixSpaceIssue, getAvgWidth, getCharBBox, getFontIdentification, getFontMetrics, getFontNames, getGlyph, getGlyphByCode, getKerning, getRegistry, getWidth, isFontSpecific, setBbox, setBold, setCapHeight, setFixedPitch, setFontFamily, setFontName, setFontStretch, setFontWeight, setItalicAngle, setRegistry, setStemH, setStemV, setTypoAscender, setTypoDescender, setXHeight, toString
-
Method Details
-
getFontFile
-
getFontFileName
-
getSubtype
-
isBuiltWith
Returns false, because we cannot rely on an actual font subset and font name.- Overrides:
-
isBuiltWithin classTrueTypeFont - Parameters:
-
fontName- a font name or path to a font program - Returns:
- return false.
-
getMissingWidth
public int getMissingWidth()
-