Class PosTableLookup8Format1
- java.lang.Object
-
- com.itextpdf.io.font.otf.ContextualTable<T>
-
- com.itextpdf.io.font.otf.ChainingContextualTable<ContextualPositionRule>
-
- com.itextpdf.io.font.otf.lookuptype8.PosTableLookup8Format1
-
public class PosTableLookup8Format1 extends ChainingContextualTable<ContextualPositionRule>
Chaining Context Positioning Format 1: Simple Glyph Contexts
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PosTableLookup8Format1.PosRuleFormat1
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.util.List<ContextualPositionRule>>
posMap
-
Fields inherited from class com.itextpdf.io.font.otf.ContextualTable
lookupFlag, openReader
-
-
Constructor Summary
Constructors Constructor Description PosTableLookup8Format1(OpenTypeFontTableReader openReader, int lookupFlag, java.util.Map<java.lang.Integer,java.util.List<ContextualPositionRule>> posMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.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
-
-
-
-
Field Detail
-
posMap
private java.util.Map<java.lang.Integer,java.util.List<ContextualPositionRule>> posMap
-
-
Constructor Detail
-
PosTableLookup8Format1
public PosTableLookup8Format1(OpenTypeFontTableReader openReader, int lookupFlag, java.util.Map<java.lang.Integer,java.util.List<ContextualPositionRule>> posMap)
-
-
Method Detail
-
getSetOfRulesForStartGlyph
protected java.util.List<ContextualPositionRule> getSetOfRulesForStartGlyph(int startGlyphId)
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
-
-