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 java.io.IOException
protected void updateBBoxAndOffset()
throws java.io.IOException
updateBBoxAndOffset in class OpenFontjava.io.IOExceptionprotected final void readIndexToLocation()
throws java.io.IOException
java.io.IOException - In case of a I/O problempublic long getLastGlyfLocation()
protected void initializeFont(FontFileReader in) throws java.io.IOException
initializeFont in class OpenFontjava.io.IOExceptionCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.