public abstract class SubTableLookup6 extends ContextualSubTable
lookupFlag, openReader
Modifier | Constructor and Description |
---|---|
protected |
SubTableLookup6(OpenTypeFontTableReader openReader, int lookupFlag) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkIfBacktrackContextMatch(GlyphLine line, ContextualSubstRule rule)
Checks if given glyph line at the given position matches given rule.
|
protected boolean |
checkIfLookaheadContextMatch(GlyphLine line, ContextualSubstRule rule, int startIdx)
Checks if given glyph line at the given position matches given rule.
|
ContextualSubstRule |
getMatchingContextRule(GlyphLine line)
Gets a most preferable context rule that matches the line at current position.
|
checkIfContextMatch, getSetOfRulesForStartGlyph
protected SubTableLookup6(OpenTypeFontTableReader openReader, int lookupFlag)
public ContextualSubstRule getMatchingContextRule(GlyphLine line)
ContextualSubTable
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 ContextualSubTable
line
- a line, which is to be checked if it matches some context.
protected boolean checkIfLookaheadContextMatch(GlyphLine line, ContextualSubstRule rule, int startIdx)
protected boolean checkIfBacktrackContextMatch(GlyphLine line, ContextualSubstRule rule)
Copyright © 1998–2017 iText Group NV. All rights reserved.