iText 9.8.0 API
iText.IO.Font.Otf.OpenTypeGdefTableReader Class Reference

Reads glyph classification data from an OpenType GDEF table. More...

Public Member Functions

  OpenTypeGdefTableReader (RandomAccessFileOrArray rf, int tableLocation)
  Creates a new GDEF reader. More...
 
virtual void  ReadTable ()
  Reads the GDEF table from OpenType data. More...
 
virtual bool  IsSkip (int glyph, int flag)
  Checks if lookup must ignore the specified glyph when processing glyph sequences. More...
 
virtual OtfClass  GetGlyphClassTable ()
  Returns the glyph class table. More...
 

Detailed Description

Reads glyph classification data from an OpenType GDEF table.

Constructor & Destructor Documentation

◆ OpenTypeGdefTableReader()

iText.IO.Font.Otf.OpenTypeGdefTableReader.OpenTypeGdefTableReader ( RandomAccessFileOrArray  rf,
int  tableLocation 
)
inline

Creates a new GDEF reader.

Parameters
rf the raw source
tableLocation the table location

Member Function Documentation

◆ GetGlyphClassTable()

virtual OtfClass iText.IO.Font.Otf.OpenTypeGdefTableReader.GetGlyphClassTable ( )
inlinevirtual

Returns the glyph class table.

Returns
the requested result

◆ IsSkip()

virtual bool iText.IO.Font.Otf.OpenTypeGdefTableReader.IsSkip ( int  glyph,
int  flag 
)
inlinevirtual

Checks if lookup must ignore the specified glyph when processing glyph sequences.

Parameters
glyph glyph to check
flag specifies processing options, e.g. whether to skip base glyphs, marks or ligatures during glyph substitution or positioning. See Lookup table
Returns

true if the specified glyph should be skipped, false otherwise

◆ ReadTable()

virtual void iText.IO.Font.Otf.OpenTypeGdefTableReader.ReadTable ( )
inlinevirtual

Reads the GDEF table from OpenType data.