Class PosTableLookup8Format1
java.lang.Object
com.itextpdf.io.font.otf.ContextualTable
com.itextpdf.io.font.otf.ChainingContextualTable<ContextualPositionRule>
com.itextpdf.io.font.otf.lookuptype8.PosTableLookup8Format1
Chaining Context Positioning Format 1: Simple Glyph Contexts
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.itextpdf.io.font.otf.ContextualTable
lookupFlag, openReader
-
Constructor Summary
ConstructorDescriptionPosTableLookup8Format1
(OpenTypeFontTableReader openReader, int lookupFlag, Map<Integer, List<ContextualPositionRule>> posMap) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<ContextualPositionRule>
getSetOfRulesForStartGlyph
(int startGlyphId) 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
-
PosTableLookup8Format1
public PosTableLookup8Format1(OpenTypeFontTableReader openReader, int lookupFlag, Map<Integer, List<ContextualPositionRule>> posMap)
-
-
Method Details
-
getSetOfRulesForStartGlyph
Description copied from class:ContextualTable
Gets a set of rules, which start with given glyph id.- Specified by:
-
getSetOfRulesForStartGlyph
in classContextualTable<ContextualPositionRule>
- Parameters:
-
startGlyphId
- 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
-