public class TTFFile extends OpenFont
OpenFont.PostScriptVersionadvancedTableReader, cid, dirTabs, embedFontName, familyNames, fontFile, fullName, lastLoca, locaFormat, log, mtxTab, nhmtx, notice, numberOfGlyphs, postScriptName, subFamilyName, svgs, TRACE_ENABLED, unicodeMappings, useAdvanced, useKerning| Constructor and Description |
|---|
TTFFile() |
TTFFile(boolean useKerning,
boolean useAdvanced)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLastGlyfLocation()
Gets the last location of the glyf table
|
protected void |
initializeFont(FontFileReader in) |
protected void |
readIndexToLocation()
Read the "loca" table.
|
protected void |
readName()
Read the "name" table.
|
protected void |
updateBBoxAndOffset() |
checkTTC, convertTTFUnit2PDFUnit, createCMaps, determineAscDesc, getAnsiKerning, getBBox, getBBoxRaw, getBoundingBoxes, getCapHeight, getCharSetName, getCharWidth, getCharWidthRaw, getCMaps, getCopyrightNotice, getDirectoryEntry, getEmbedFontName, getFamilyNames, getFirstChar, getFlags, getFontBBox, getFullName, getGDEF, getGPOS, getGSUB, getItalicAngle, getKerning, getLastChar, getLowerCaseAscent, getLowerCaseDescent, getMtx, getNumGlyphs, getPadSize, getPostScriptName, getStemV, getStrikeoutPosition, getStrikeoutThickness, getSubFamilyName, getTTCnames, getUnderlinePosition, getUnderlineThickness, getWeightClass, getWidths, getXHeight, guessVerticalMetricsFromGlyphBBox, handleCharacterSpacing, hasAdvancedTable, initAnsiWidths, isCFF, isEmbeddable, main, printStuff, readCMAP, readDirTabs, readFont, readFont, readFont, readFontHeader, readHorizontalHeader, readHorizontalMetrics, readKerning, readOS2, readPCLT, readPostScript, seekTab, streampublic TTFFile()
public TTFFile(boolean useKerning,
boolean useAdvanced)
useKerning - true if kerning data should be loadeduseAdvanced - true if advanced typographic tables should be loadedprotected void readName()
throws IOException
readName in class OpenFontIOException - In case of a I/O problemprotected void updateBBoxAndOffset()
throws IOException
updateBBoxAndOffset in class OpenFontIOExceptionprotected final void readIndexToLocation()
throws IOException
IOException - In case of a I/O problempublic long getLastGlyfLocation()
protected void initializeFont(FontFileReader in) throws IOException
initializeFont in class OpenFontIOExceptionCopyright © 2023 Apache Software Foundation. All rights reserved.