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.
featuresType, lookupList, rf, scriptsType, tableLocation
Constructor and Description |
---|
GlyphSubstitutionTableReader(RandomAccessFileOrArray rf, int gsubTableLocation, OpenTypeGdefTableReader gdef, Map<Integer,Glyph> indexGlyphMap, int unitsPerEm) |
Modifier and Type | Method and Description |
---|---|
protected OpenTableLookup |
readLookupTable(int lookupType, int lookupFlag, int[] subTableLocations) |
getFeatureRecords, getFeatures, getGlyph, getGlyphClass, getLanguageRecord, getLookups, getLookups, getLookupTable, getRequiredFeature, getScriptRecords, getSpecificFeatures, getUnitsPerEm, isSkip, readClassDefinition, readCoverageFormat, readCoverages, readSubstLookupRecords, readTagAndLocations, readUShortArray, readUShortArray
public GlyphSubstitutionTableReader(RandomAccessFileOrArray rf, int gsubTableLocation, OpenTypeGdefTableReader gdef, Map<Integer,Glyph> indexGlyphMap, int unitsPerEm) throws IOException
IOException
protected OpenTableLookup readLookupTable(int lookupType, int lookupFlag, int[] subTableLocations) throws IOException
readLookupTable
in class OpenTypeFontTableReader
IOException
Copyright © 1998–2017 iText Group NV. All rights reserved.