Class GlyphSubstitutionTableReader


  • public class GlyphSubstitutionTableReader
    extends OpenTypeFontTableReader
    Parses an OpenTypeFont file and reads the Glyph Substitution Table. This table governs how two or more Glyphs should be merged to a single Glyph. This is especially useful for Asian languages like Bangla, Hindi, etc.

    This has been written according to the OPenTypeFont specifications. This may be found here.

    • Constructor Detail

      • GlyphSubstitutionTableReader

        public GlyphSubstitutionTableReader​(RandomAccessFileOrArray rf,
                                            int gsubTableLocation,
                                            OpenTypeGdefTableReader gdef,
                                            java.util.Map<java.lang.Integer,​Glyph> indexGlyphMap,
                                            int unitsPerEm)
                                     throws java.io.IOException
        Throws:
        java.io.IOException