Class SubTableLookup5Format2
java.lang.Object
com.itextpdf.io.font.otf.ContextualTable<ContextualSubstRule>
com.itextpdf.io.font.otf.lookuptype5.SubTableLookup5Format2
Contextual Substitution Subtable: Class-based context glyph substitution
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.itextpdf.io.font.otf.ContextualTable
lookupFlag, openReader
-
Constructor Summary
ConstructorDescriptionSubTableLookup5Format2
(OpenTypeFontTableReader openReader, int lookupFlag, Set<Integer> substCoverageGlyphIds, OtfClass classDefinition) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<ContextualSubstRule>
getSetOfRulesForStartGlyph
(int startId) Gets a set of rules, which start with given glyph id.void
setSubClassSets
(List<List<ContextualSubstRule>> subClassSets) Methods inherited from class com.itextpdf.io.font.otf.ContextualTable
checkIfContextMatch, getMatchingContextRule
-
Constructor Details
-
SubTableLookup5Format2
public SubTableLookup5Format2(OpenTypeFontTableReader openReader, int lookupFlag, Set<Integer> substCoverageGlyphIds, OtfClass classDefinition)
-
-
Method Details
-
setSubClassSets
-
getSetOfRulesForStartGlyph
Description copied from class:ContextualTable
Gets a set of rules, which start with given glyph id.- Specified by:
-
getSetOfRulesForStartGlyph
in classContextualTable<ContextualSubstRule>
- 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
-