Class PosTableLookup8Format2
java.lang.Object
com.itextpdf.io.font.otf.ContextualTable<ContextualPositionRule>
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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OtfClassprivate OtfClassprivate OtfClassprivate List<List<ContextualPositionRule>> Fields inherited from class ContextualTable
lookupFlag, openReader -
Constructor Summary
ConstructorsConstructorDescriptionPosTableLookup8Format2(OpenTypeFontTableReader openReader, int lookupFlag, Set<Integer> posCoverageGlyphIds, OtfClass backtrackClassDefinition, OtfClass inputClassDefinition, OtfClass lookaheadClassDefinition) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPosClassSet(List<ContextualPositionRule> posClassSet) protected List<ContextualPositionRule> getSetOfRulesForStartGlyph(int startId) Gets a set of rules, which start with given glyph id.Methods inherited from class ChainingContextualTable
checkIfBacktrackContextMatch, checkIfLookaheadContextMatch, getMatchingContextRuleMethods inherited from class ContextualTable
checkIfContextMatch
-
Field Details
-
posCoverageGlyphIds
-
posClassSets
-
backtrackClassDefinition
-
inputClassDefinition
-
lookaheadClassDefinition
-
-
Constructor Details
-
PosTableLookup8Format2
-
-
Method Details
-
addPosClassSet
-
getSetOfRulesForStartGlyph
Description copied from class:ContextualTableGets a set of rules, which start with given glyph id.- Specified by:
getSetOfRulesForStartGlyphin classContextualTable<ContextualPositionRule>- Parameters:
startId- id of the first glyph in the sequence- Returns:
- a list of
ContextualSubstRuleinstances. The list will be empty if there are no rules that start with a given glyph id
-