Class PosTableLookup7Format2
java.lang.Object
com.itextpdf.io.font.otf.ContextualTable<ContextualPositionRule>
com.itextpdf.io.font.otf.lookuptype7.PosTableLookup7Format2
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.itextpdf.io.font.otf.ContextualTable
lookupFlag, openReader
-
Constructor Summary
ConstructorDescriptionPosTableLookup7Format2
(OpenTypeFontTableReader openReader, int lookupFlag, Set<Integer> posCoverageGlyphIds, OtfClass classDefinition) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<ContextualPositionRule>
getSetOfRulesForStartGlyph
(int startId) Gets a set of rules, which start with given glyph id.void
setPosClassSets
(List<List<ContextualPositionRule>> subClassSets) Methods inherited from class com.itextpdf.io.font.otf.ContextualTable
checkIfContextMatch, getMatchingContextRule
-
Constructor Details
-
PosTableLookup7Format2
public PosTableLookup7Format2(OpenTypeFontTableReader openReader, int lookupFlag, Set<Integer> posCoverageGlyphIds, OtfClass classDefinition)
-
-
Method Details
-
setPosClassSets
-
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
-