## Uses of Class
org.apache.fop.fonts.truetype.FontFileReader

- Packages that use FontFileReader
  Package | Description
  --- | ---
  org.apache.fop.complexscripts.fonts |
  org.apache.fop.fonts.cff |
  org.apache.fop.fonts.truetype | Classes for TrueType fonts.
  org.apache.fop.render.pcl.fonts |
  org.apache.fop.render.pcl.fonts.truetype |

- - ### Uses of FontFileReader in org.apache.fop.complexscripts.fonts

    Constructors in org.apache.fop.complexscripts.fonts with parameters of type FontFileReader
    Constructor and Description
    `OTFAdvancedTypographicTableReader(OpenFont otf, FontFileReader in)` Construct an `OTFAdvancedTypographicTableReader` instance.

  - ### Uses of FontFileReader in org.apache.fop.fonts.cff

    Constructors in org.apache.fop.fonts.cff with parameters of type FontFileReader
    Constructor and Description
    `CFFDataReader(FontFileReader fontFile)` Constructor for the CFF data reader which accepts a FontFileReader object which points to the original font file as an argument.

  - ### Uses of FontFileReader in org.apache.fop.fonts.truetype

    Fields in org.apache.fop.fonts.truetype declared as FontFileReader
    Modifier and Type | Field and Description
    --- | ---
    `protected FontFileReader` | OpenFont.`fontFile` The FontFileReader used to read this TrueType font.

    Methods in org.apache.fop.fonts.truetype with parameters of type FontFileReader
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | TTFSubSetFile.`createCvt(FontFileReader in)` Copy the cvt table as is from original font to subset font
    `protected boolean` | TTFSubSetFile.`createFpgm(FontFileReader in)` Copy the fpgm table as is from original font to subset font
    `protected void` | TTFSubSetFile.`createHead(FontFileReader in)` Copy the head table as is from original font to subset font and set indexToLocaFormat to long and set checkSumAdjustment to 0, store offset to checkSumAdjustment in checkSumAdjustmentOffset
    `protected void` | TTFSubSetFile.`createHhea(FontFileReader in, int size)` Copy the hhea table as is from original font to subset font and fill in size of hmtx table
    `protected void` | TTFSubSetFile.`createHmtx(FontFileReader in, Map<Integer,Integer> glyphs)` Create the hmtx table by copying metrics from original font to subset font.
    `protected void` | TTFSubSetFile.`createMaxp(FontFileReader in, int size)` Copy the maxp table as is from original font to subset font and set num glyphs to size
    `protected boolean` | TTFSubSetFile.`createName(FontFileReader in)` Copy the name table as is from the original.
    `protected boolean` | TTFSubSetFile.`createOS2(FontFileReader in)` Copy the OS/2 table as is from the original.
    `protected void` | TTFSubSetFile.`createPost(FontFileReader in)`
    `protected boolean` | TTFSubSetFile.`createPrep(FontFileReader in)` Copy the prep table as is from original font to subset font
    `static byte[]` | OTFFile.`getCFFData(FontFileReader fontFile)` Reads the CFFData from a given font file
    `List<String>` | OpenFont.`getTTCnames(FontFileReader in)` Return TTC font names
    `protected void` | OpenFont.`handleCharacterSpacing(FontFileReader in)`
    `protected void` | TTFFile.`initializeFont(FontFileReader in)`
    `protected void` | OTFFile.`initializeFont(FontFileReader in)`
    `protected abstract void` | OpenFont.`initializeFont(FontFileReader in)`
    `String` | OFDirTabEntry.`read(FontFileReader in)` Read Dir Tab.
    `void` | OpenFont.`readFont(FontFileReader in, String header)` Reads the font using a FontFileReader.
    `void` | OpenFont.`readFont(FontFileReader in, String header, MultiByteFont mbfont)` Reads a font.
    `void` | OTFSubSetFile.`readFont(FontFileReader in, String embeddedName, MultiByteFont mbFont)`
    `boolean` | OpenFont.`readFont(FontFileReader in, String header, String name)` Read the font data.
    `void` | TTFSubSetFile.`readFont(FontFileReader in, String name, String header, Map<Integer,Integer> glyphs)` Reads a font and creates a subset of the font.
    `static String` | OFFontLoader.`readHeader(FontFileReader fontFile)`
    `protected void` | TTFSubSetFile.`scanGlyphs(FontFileReader in, Map<Integer,Integer> subsetGlyphs)`
    `boolean` | OpenFont.`seekTab(FontFileReader in, OFTableName tableName, long offset)` Position inputstream to position indicated in the dirtab offset + offset

    Constructors in org.apache.fop.fonts.truetype with parameters of type FontFileReader
    Constructor and Description
    `GlyfTable(FontFileReader in, OFMtxEntry[] metrics, OFDirTabEntry dirTableEntry, Map<Integer,Integer> glyphs)`

  - ### Uses of FontFileReader in org.apache.fop.render.pcl.fonts

    Fields in org.apache.fop.render.pcl.fonts declared as FontFileReader
    Modifier and Type | Field and Description
    --- | ---
    `protected FontFileReader` | PCLCharacterWriter.`fontReader`

    Methods in org.apache.fop.render.pcl.fonts that return FontFileReader
    Modifier and Type | Method and Description
    --- | ---
    `abstract FontFileReader` | PCLFontReader.`getFontFileReader()`
    `FontFileReader` | PCLSoftFont.`getReader()`

    Methods in org.apache.fop.render.pcl.fonts with parameters of type FontFileReader
    Modifier and Type | Method and Description
    --- | ---
    `void` | PCLSoftFont.`setReader(FontFileReader reader)`

  - ### Uses of FontFileReader in org.apache.fop.render.pcl.fonts.truetype

    Fields in org.apache.fop.render.pcl.fonts.truetype declared as FontFileReader
    Modifier and Type | Field and Description
    --- | ---
    `protected FontFileReader` | PCLTTFFontReader.`reader`
    `protected FontFileReader` | PCLTTFTable.`reader`

    Methods in org.apache.fop.render.pcl.fonts.truetype that return FontFileReader
    Modifier and Type | Method and Description
    --- | ---
    `FontFileReader` | PCLTTFFontReader.`getFontFileReader()`

    Methods in org.apache.fop.render.pcl.fonts.truetype with parameters of type FontFileReader
    Modifier and Type | Method and Description
    --- | ---
    `static PCLTTFTableFactory` | PCLTTFTableFactory.`getInstance(FontFileReader reader)`
    `protected void` | PCLTTFTable.`skipByte(FontFileReader reader, int skips)`
    `protected void` | PCLTTFTable.`skipLong(FontFileReader reader, int skips)`
    `protected void` | PCLTTFTable.`skipShort(FontFileReader reader, int skips)`

    Constructors in org.apache.fop.render.pcl.fonts.truetype with parameters of type FontFileReader
    Constructor and Description
    `PCLTTFOS2FontTable(FontFileReader in)`
    `PCLTTFPCLTFontTable(FontFileReader in)`
    `PCLTTFPOSTFontTable(FontFileReader in)`
    `PCLTTFTable(FontFileReader reader)`

Copyright © 2025 Apache Software Foundation. All rights reserved.