Table of Contents

Class GlyphPositioningTableReader

Namespace
iText.IO.Font.Otf
Assembly
itext.io.dll

Parses an OpenTypeFont file and reads the Glyph Substitution Table.

public class GlyphPositioningTableReader : OpenTypeFontTableReader
Inheritance
GlyphPositioningTableReader
Inherited Members

Remarks

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.

Constructors

GlyphPositioningTableReader(RandomAccessFileOrArray, int, OpenTypeGdefTableReader, IDictionary<int, Glyph>, int)

public GlyphPositioningTableReader(RandomAccessFileOrArray rf, int gposTableLocation, OpenTypeGdefTableReader gdef, IDictionary<int, Glyph> indexGlyphMap, int unitsPerEm)

Parameters

rf RandomAccessFileOrArray
gposTableLocation int
gdef OpenTypeGdefTableReader
indexGlyphMap IDictionary<int, Glyph>
unitsPerEm int

Methods

ReadLookupTable(int, int, int[])

protected override OpenTableLookup ReadLookupTable(int lookupType, int lookupFlag, int[] subTableLocations)

Parameters

lookupType int
lookupFlag int
subTableLocations int[]

Returns

OpenTableLookup