iText 8.0.2 API
|
Parses an OpenTypeFont file and reads the Glyph Substitution Table. More...
Public Member Functions |
|
GlyphSubstitutionTableReader (RandomAccessFileOrArray rf, int gsubTableLocation, OpenTypeGdefTableReader gdef, IDictionary< int, Glyph > indexGlyphMap, int unitsPerEm) | |
![]() |
|
virtual Glyph | GetGlyph (int index) |
virtual OpenTableLookup | GetLookupTable (int idx) |
virtual IList< ScriptRecord > | GetScriptRecords () |
virtual IList< FeatureRecord > | GetFeatureRecords () |
virtual IList< FeatureRecord > | GetFeatures (String[] scripts, String language) |
virtual IList< FeatureRecord > | GetSpecificFeatures (IList< FeatureRecord > features, String[] specific) |
virtual FeatureRecord | GetRequiredFeature (String[] scripts, String language) |
virtual IList< OpenTableLookup > | GetLookups (FeatureRecord[] features) |
virtual IList< OpenTableLookup > | GetLookups (FeatureRecord feature) |
virtual bool | IsSkip (int glyph, int flag) |
virtual int | GetGlyphClass (int glyphCode) |
virtual int | GetUnitsPerEm () |
virtual LanguageRecord | GetLanguageRecord (String otfScriptTag) |
virtual LanguageRecord | GetLanguageRecord (String otfScriptTag, String langTag) |
Parses an OpenTypeFont file and reads the Glyph Substitution Table.
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.