Uses of Class
org.docx4j.fonts.fop.fonts.truetype.FontFileReader
| Package | Description |
|---|---|
| org.docx4j.fonts.fop.fonts.truetype |
Classes for TrueType fonts.
|
-
Uses of FontFileReader in org.docx4j.fonts.fop.fonts.truetype
Methods in org.docx4j.fonts.fop.fonts.truetype with parameters of type FontFileReader Modifier and Type Method Description protected booleanTTFFile. checkTTC(FontFileReader in, java.lang.String name)Check if this is a TrueType collection and that the given name exists in the collection.protected voidTTFFile. getNumGlyphs(FontFileReader in)Read the number of glyphs from the "maxp" tablejava.util.ListTTFFile. getTTCnames(FontFileReader in)Return TTC font namesprotected voidTTFFile. readDirTabs(FontFileReader in)Read Table Directory from the current position in the FontFileReader and fill the global HashMap dirTabs with the table name (String) as key and a TTFDirTabEntry as value.voidTTFFile. readFont(FontFileReader in)Reads the font using a FontFileReader.booleanTTFFile. readFont(FontFileReader in, java.lang.String name)Read the font data.byte[]TTFSubSetFile. readFont(FontFileReader in, java.lang.String name, java.util.Map glyphs)Returns a subset of the original font.protected voidTTFFile. readFontHeader(FontFileReader in)Read the "head" table, this reads the bounding box and sets the upem (unitsPerEM) variableprotected voidTTFFile. readHorizontalHeader(FontFileReader in)Read the "hhea" table to find the ascender and descender and size of "hmtx" table, as a fixed size font might have only one width.protected voidTTFFile. readHorizontalMetrics(FontFileReader in)Read "hmtx" table and put the horizontal metrics in the mtxTab array.protected voidTTFFile. readIndexToLocation(FontFileReader in)Read the "loca" table.