Class PosTableLookup7Format2
- java.lang.Object
-
- com.itextpdf.io.font.otf.ContextualTable<ContextualPositionRule>
-
- com.itextpdf.io.font.otf.lookuptype7.PosTableLookup7Format2
-
public class PosTableLookup7Format2 extends ContextualTable<ContextualPositionRule>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PosTableLookup7Format2.PosRuleFormat2
-
Field Summary
Fields Modifier and Type Field Description private OtfClass
classDefinition
private java.util.Set<java.lang.Integer>
posCoverageGlyphIds
private java.util.List<java.util.List<ContextualPositionRule>>
subClassSets
-
Fields inherited from class com.itextpdf.io.font.otf.ContextualTable
lookupFlag, openReader
-
-
Constructor Summary
Constructors Constructor Description PosTableLookup7Format2(OpenTypeFontTableReader openReader, int lookupFlag, java.util.Set<java.lang.Integer> posCoverageGlyphIds, OtfClass classDefinition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<ContextualPositionRule>
getSetOfRulesForStartGlyph(int startId)
Gets a set of rules, which start with given glyph id.void
setPosClassSets(java.util.List<java.util.List<ContextualPositionRule>> subClassSets)
-
Methods inherited from class com.itextpdf.io.font.otf.ContextualTable
checkIfContextMatch, getMatchingContextRule
-
-
-
-
Field Detail
-
posCoverageGlyphIds
private java.util.Set<java.lang.Integer> posCoverageGlyphIds
-
subClassSets
private java.util.List<java.util.List<ContextualPositionRule>> subClassSets
-
classDefinition
private OtfClass classDefinition
-
-
Constructor Detail
-
PosTableLookup7Format2
public PosTableLookup7Format2(OpenTypeFontTableReader openReader, int lookupFlag, java.util.Set<java.lang.Integer> posCoverageGlyphIds, OtfClass classDefinition)
-
-
Method Detail
-
setPosClassSets
public void setPosClassSets(java.util.List<java.util.List<ContextualPositionRule>> subClassSets)
-
getSetOfRulesForStartGlyph
protected java.util.List<ContextualPositionRule> getSetOfRulesForStartGlyph(int startId)
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
-
-