Class PosTableLookup8Format2
java.lang.Object
com.itextpdf.io.font.otf.ContextualTable
com.itextpdf.io.font.otf.ChainingContextualTable<ContextualPositionRule>
com.itextpdf.io.font.otf.lookuptype8.PosTableLookup8Format2
Chained Contexts Positioning Format 2: Class-based Glyph Contexts
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.itextpdf.io.font.otf.ContextualTable
lookupFlag, openReader
-
Constructor Summary
ConstructorDescriptionPosTableLookup8Format2
(OpenTypeFontTableReader openReader, int lookupFlag, Set<Integer> posCoverageGlyphIds, OtfClass backtrackClassDefinition, OtfClass inputClassDefinition, OtfClass lookaheadClassDefinition) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPosClassSet
(List<ContextualPositionRule> posClassSet) protected List<ContextualPositionRule>
getSetOfRulesForStartGlyph
(int startId) Gets a set of rules, which start with given glyph id.Methods inherited from class com.itextpdf.io.font.otf.ChainingContextualTable
checkIfBacktrackContextMatch, checkIfLookaheadContextMatch, getMatchingContextRule
Methods inherited from class com.itextpdf.io.font.otf.ContextualTable
checkIfContextMatch
-
Constructor Details
-
PosTableLookup8Format2
-
-
Method Details
-
addPosClassSet
-
getSetOfRulesForStartGlyph
Description copied from class:ContextualTable
Gets a set of rules, which start with given glyph id.- Specified by:
-
getSetOfRulesForStartGlyph
in classContextualTable<ContextualPositionRule>
- Parameters:
-
startId
- id of the first glyph in the sequence - Returns:
-
a list of
ContextualSubstRule
instances. The list will be empty if there are no rules that start with a given glyph id
-