TTFSubSetFile
public class TTFFile extends OpenFont
OpenFont.PostScriptVersion
advancedTableReader, cid, dirTabs, familyNames, fontFile, fullName, lastLoca, locaFormat, log, mtxTab, nhmtx, notice, numberOfGlyphs, postScriptName, subFamilyName, TRACE_ENABLED, unicodeMappings, useAdvanced, useKerning
Constructor | Description |
---|---|
TTFFile() |
|
TTFFile(boolean useKerning,
boolean useAdvanced) |
Constructor
|
Modifier and Type | Method | 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkTTC, convertTTFUnit2PDFUnit, createCMaps, determineAscDesc, getAnsiKerning, getBBox, getBBoxRaw, getBoundingBoxes, getCapHeight, getCharSetName, getCharWidth, getCharWidthRaw, getCMaps, getCopyrightNotice, getDirectoryEntry, 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, stream
public 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 OpenFont
java.io.IOException
protected 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 OpenFont
java.io.IOException
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.