public class TTFSubSetFile extends TTFFile
Constructor and Description |
---|
TTFSubSetFile() |
Modifier and Type | Method and Description |
---|---|
byte[] |
readFont(FontFileReader in,
java.lang.String name,
java.util.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, getPostScriptName, getStemV, getSubFamilyName, getTTCnames, getWeightClass, getWidths, getXHeight, isCFF, isEmbeddable, main, printStuff, readDirTabs, readFont, readFont, readFontHeader, readHorizontalHeader, readHorizontalMetrics, readIndexToLocation
public byte[] readFont(FontFileReader in, java.lang.String name, java.util.Map glyphs) throws java.io.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)java.io.IOException
- in case of an I/O problemCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.