public class TTFSubSetFile extends TTFFile
| Constructor and Description |
|---|
TTFSubSetFile() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
readFont(FontFileReader in,
String name,
Map glyphs)
Returns a subset of the original font.
|
checkTTC, convertTTFUnit2PDFUnit, getAnsiKerning, getCapHeight, getCharSetName, getCharWidth, getCMaps, getFamilyNames, getFirstChar, getFlags, getFontBBox, getFullName, getItalicAngle, getKerning, getLastChar, getLowerCaseAscent, getLowerCaseDescent, getNumGlyphs, getPanose, getPostScriptName, getStemV, getSubFamilyName, getTTCnames, getWeightClass, getWidths, getXHeight, isCFF, isEmbeddable, main, printStuff, readDirTabs, readFont, readFont, readFontHeader, readHorizontalHeader, readHorizontalMetrics, readIndexToLocationpublic byte[] readFont(FontFileReader in, String name, Map glyphs) throws IOException
in - FontFileReader to read fromname - Name to be checked for in the font fileglyphs - Map of glyphs (glyphs has old index as (Integer) key and
new index as (Integer) value)IOException - in case of an I/O problemCopyright © 2007-2020. All Rights Reserved.