public abstract class ContextualSubTable extends ContextualTable<ContextualSubstRule>
lookupFlag, openReader| Modifier | Constructor and Description |
|---|---|
protected |
ContextualSubTable(OpenTypeFontTableReader openReader, int lookupFlag) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
checkIfContextMatch(GlyphLine line, ContextualSubstRule rule)
Checks if given glyph line matches given rule.
|
ContextualSubstRule |
getMatchingContextRule(GlyphLine line)
Gets a most preferable context rule that matches the line at current position.
|
getSetOfRulesForStartGlyphprotected ContextualSubTable(OpenTypeFontTableReader openReader, int lookupFlag)
public ContextualSubstRule getMatchingContextRule(GlyphLine line)
ContextualTable
null.
GlyphLine.start and GlyphLine.end will be changed in such way that they will point at start and end of the matching context glyph sequence inside the glyph line.
getMatchingContextRule in class ContextualTable<ContextualSubstRule>
line - a line, which is to be checked if it matches some context.
protected int checkIfContextMatch(GlyphLine line, ContextualSubstRule rule)
ContextualTable
checkIfContextMatch in class ContextualTable<ContextualSubstRule>
line - glyph line to be checked
rule - rule to be compared with a given glyph line
Copyright © 1998–2021 iText Group NV. All rights reserved.