iText 8.0.2 API
|
Public Member Functions |
|
abstract int | GetContextLength () |
Gets the length of the context glyph sequence defined by this rule More... |
|
abstract bool | IsGlyphMatchesInput (int glyphId, int atIdx) |
Checks if glyph line element matches element from input sequence of the rule. More... |
|
virtual int | GetLookaheadContextLength () |
Gets the length of the lookahead context glyph sequence defined by this rule More... |
|
virtual int | GetBacktrackContextLength () |
Gets the length of the backtrack context glyph sequence defined by this rule More... |
|
virtual bool | IsGlyphMatchesLookahead (int glyphId, int atIdx) |
Checks if glyph line element matches element from lookahead sequence of the rule. More... |
|
virtual bool | IsGlyphMatchesBacktrack (int glyphId, int atIdx) |
Checks if glyph line element matches element from backtrack sequence of the rule. More... |
|
|
inlinevirtual |
Gets the length of the backtrack context glyph sequence defined by this rule
Reimplemented in iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format2.PosRuleFormat2, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format2.SubstRuleFormat2, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format3.PosRuleFormat3, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format1.PosRuleFormat1, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format1.SubstRuleFormat1, and iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format3.SubstRuleFormat3.
|
pure virtual |
Gets the length of the context glyph sequence defined by this rule
Implemented in iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format2.PosRuleFormat2, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format2.SubstRuleFormat2, iText.IO.Font.Otf.Lookuptype5.SubTableLookup5Format2.SubstRuleFormat2, iText.IO.Font.Otf.Lookuptype7.PosTableLookup7Format2.PosRuleFormat2, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format3.PosRuleFormat3, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format1.PosRuleFormat1, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format1.SubstRuleFormat1, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format3.SubstRuleFormat3, iText.IO.Font.Otf.Lookuptype5.SubTableLookup5Format1.SubstRuleFormat1, and iText.IO.Font.Otf.Lookuptype5.SubTableLookup5Format3.SubstRuleFormat3.
|
inlinevirtual |
Gets the length of the lookahead context glyph sequence defined by this rule
Reimplemented in iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format2.PosRuleFormat2, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format2.SubstRuleFormat2, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format3.PosRuleFormat3, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format1.PosRuleFormat1, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format1.SubstRuleFormat1, and iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format3.SubstRuleFormat3.
|
inlinevirtual |
Checks if glyph line element matches element from backtrack sequence of the rule.
glyphId | glyph code id |
atIdx | index in rule sequence. Shall be: 0 <= atIdx < GetBacktrackContextLength() |
true
if glyph matches element from backtrack sequence
Reimplemented in iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format2.PosRuleFormat2, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format2.SubstRuleFormat2, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format3.PosRuleFormat3, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format1.PosRuleFormat1, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format1.SubstRuleFormat1, and iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format3.SubstRuleFormat3.
|
pure virtual |
Checks if glyph line element matches element from input sequence of the rule.
Checks if glyph line element matches element from input sequence of the rule.
NOTE: rules do not contain the first element of the input sequence, the first element is defined by rule position in substitution table. Therefore atIdx shall not be 0.
glyphId | glyph code id |
atIdx | index in the rule sequence. Shall be: 0 < atIdx < GetContextLength() |
true
if glyph matches element
Implemented in iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format2.PosRuleFormat2, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format2.SubstRuleFormat2, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format1.PosRuleFormat1, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format1.SubstRuleFormat1, iText.IO.Font.Otf.Lookuptype5.SubTableLookup5Format2.SubstRuleFormat2, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format3.SubstRuleFormat3, iText.IO.Font.Otf.Lookuptype7.PosTableLookup7Format2.PosRuleFormat2, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format3.PosRuleFormat3, iText.IO.Font.Otf.Lookuptype5.SubTableLookup5Format1.SubstRuleFormat1, and iText.IO.Font.Otf.Lookuptype5.SubTableLookup5Format3.SubstRuleFormat3.
|
inlinevirtual |
Checks if glyph line element matches element from lookahead sequence of the rule.
glyphId | glyph code id |
atIdx | index in rule sequence. Shall be: 0 <= atIdx < GetLookaheadContextLength() |
true
if glyph matches element from lookahead sequence
Reimplemented in iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format2.PosRuleFormat2, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format2.SubstRuleFormat2, iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format1.PosRuleFormat1, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format1.SubstRuleFormat1, iText.IO.Font.Otf.Lookuptype6.SubTableLookup6Format3.SubstRuleFormat3, and iText.IO.Font.Otf.Lookuptype8.PosTableLookup8Format3.PosRuleFormat3.