public static class SubTableLookup5Format1.SubstRuleFormat1 extends ContextualSubstRule
| Constructor and Description |
|---|
SubstRuleFormat1(int[] inputGlyphIds,
SubstLookupRecord[] substLookupRecords) |
| Modifier and Type | Method and Description |
|---|---|
int |
getContextLength()
Gets the length of the context glyph sequence defined by this rule
|
SubstLookupRecord[] |
getSubstLookupRecords()
Retrieves the substitution lookup records.
|
boolean |
isGlyphMatchesInput(int glyphId,
int atIdx)
Checks if glyph line element matches element from input sequence of the rule.
|
getBacktrackContextLength, getLookaheadContextLength, isGlyphMatchesBacktrack, isGlyphMatchesLookaheadpublic SubstRuleFormat1(int[] inputGlyphIds,
SubstLookupRecord[] substLookupRecords)
public int getContextLength()
ContextualRulegetContextLength in class ContextualRulepublic SubstLookupRecord[] getSubstLookupRecords()
ContextualSubstRulegetSubstLookupRecords in class ContextualSubstRuleSubstLookupRecord.public boolean isGlyphMatchesInput(int glyphId,
int atIdx)
ContextualRuleisGlyphMatchesInput in class ContextualRuleglyphId - glyph code idatIdx - index in the rule sequence. Shall be: 0 < atIdx < ContextualRule.getContextLength()true if glyph matches elementCopyright © 1998–2025 Apryse Group NV. All rights reserved.