Class SubTableLookup6Format1
- java.lang.Object
-
- com.itextpdf.io.font.otf.ContextualTable<T>
-
- com.itextpdf.io.font.otf.ChainingContextualTable<ContextualSubstRule>
-
- com.itextpdf.io.font.otf.lookuptype6.SubTableLookup6Format1
-
public class SubTableLookup6Format1 extends ChainingContextualTable<ContextualSubstRule>
Chaining Contextual Substitution Subtable: Simple Chaining Context Glyph Substitution
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubTableLookup6Format1.SubstRuleFormat1
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.util.List<ContextualSubstRule>>
substMap
-
Fields inherited from class com.itextpdf.io.font.otf.ContextualTable
lookupFlag, openReader
-
-
Constructor Summary
Constructors Constructor Description SubTableLookup6Format1(OpenTypeFontTableReader openReader, int lookupFlag, java.util.Map<java.lang.Integer,java.util.List<ContextualSubstRule>> substMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<ContextualSubstRule>
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
-
substMap
private java.util.Map<java.lang.Integer,java.util.List<ContextualSubstRule>> substMap
-
-
Constructor Detail
-
SubTableLookup6Format1
public SubTableLookup6Format1(OpenTypeFontTableReader openReader, int lookupFlag, java.util.Map<java.lang.Integer,java.util.List<ContextualSubstRule>> substMap)
-
-
Method Detail
-
getSetOfRulesForStartGlyph
protected java.util.List<ContextualSubstRule> getSetOfRulesForStartGlyph(int startGlyphId)
Description copied from class:ContextualTable
Gets a set of rules, which start with given glyph id.- Specified by:
getSetOfRulesForStartGlyph
in classContextualTable<ContextualSubstRule>
- 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
-
-