|
iText 8.0.2 API
|
Public Member Functions |
|
| SubstRuleFormat1 (int[] inputGlyphIds, SubstLookupRecord[] substLookupRecords) | |
| override int | GetContextLength () |
| Gets the length of the context glyph sequence defined by this rule More... |
|
| override SubstLookupRecord[] | GetSubstLookupRecords () |
| Retrieves the substitution lookup records. More... |
|
| override bool | IsGlyphMatchesInput (int glyphId, int atIdx) |
| Checks if glyph line element matches element from input sequence of the rule. More... |
|
Public Member Functions inherited from iText.IO.Font.Otf.ContextualRule |
|
| 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 context glyph sequence defined by this rule
Implements iText.IO.Font.Otf.ContextualRule.
|
inlinevirtual |
Retrieves the substitution lookup records.
Retrieves the substitution lookup records. Each record specifies a position in the context glyph sequence and a LookupListIndex to the substitution lookup that is applied at that position.
Implements iText.IO.Font.Otf.ContextualSubstRule.
|
inlinevirtual |
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
Implements iText.IO.Font.Otf.ContextualRule.