iText 8.0.5 API
iText.IO.Font.Otf.GlyphPositioningTableReader Class Reference

Parses an OpenTypeFont file and reads the Glyph Substitution Table. More...

Inheritance diagram for iText.IO.Font.Otf.GlyphPositioningTableReader:
iText.IO.Font.Otf.OpenTypeFontTableReader

Public Member Functions

  GlyphPositioningTableReader (RandomAccessFileOrArray rf, int gposTableLocation, OpenTypeGdefTableReader gdef, IDictionary< int, Glyph > indexGlyphMap, int unitsPerEm)
 
- Public Member Functions inherited from iText.IO.Font.Otf.OpenTypeFontTableReader
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)
 

Package Functions

override OpenTableLookup  ReadLookupTable (int lookupType, int lookupFlag, int[] subTableLocations)
 
- Package Functions inherited from iText.IO.Font.Otf.OpenTypeFontTableReader
  OpenTypeFontTableReader (RandomAccessFileOrArray rf, int tableLocation, OpenTypeGdefTableReader gdef, IDictionary< int, Glyph > indexGlyphMap, int unitsPerEm)
 
OtfClass  ReadClassDefinition (int classLocation)
 
int[]  ReadUShortArray (int size, int location)
 
int[]  ReadUShortArray (int size)
 
virtual void  ReadCoverages (int[] locations, IList< ICollection< int >> coverage)
 
IList< int >  ReadCoverageFormat (int coverageLocation)
 
virtual SubstLookupRecord[]  ReadSubstLookupRecords (int substCount)
 
virtual PosLookupRecord[]  ReadPosLookupRecords (int substCount)
 
virtual TagAndLocation[]  ReadTagAndLocations (int baseLocation)
 

Additional Inherited Members

- Package Attributes inherited from iText.IO.Font.Otf.OpenTypeFontTableReader
readonly RandomAccessFileOrArray  rf
 
readonly int  tableLocation
 
IList< OpenTableLookup lookupList
 
OpenTypeScript  scriptsType
 
OpenTypeFeature  featuresType
 

Detailed Description

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.