Class PosTableLookup8Format3
java.lang.Object
com.itextpdf.io.font.otf.ContextualTable
com.itextpdf.io.font.otf.ChainingContextualTable<ContextualPositionRule>
com.itextpdf.io.font.otf.lookuptype8.PosTableLookup8Format3
Chained Contexts Positioning Format 3: Coverage-based Glyph Contexts
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the positioning rule format3 of an OpenType font. -
Field Summary
Fields inherited from class com.itextpdf.io.font.otf.ContextualTable
lookupFlag, openReader -
Constructor Summary
ConstructorsConstructorDescriptionPosTableLookup8Format3(OpenTypeFontTableReader openReader, int lookupFlag, PosTableLookup8Format3.PosRuleFormat3 rule) Creates a new Chained Contexts Positioning Format 3. -
Method Summary
Modifier and TypeMethodDescriptionprotected List<ContextualPositionRule>getSetOfRulesForStartGlyph(int startId) Gets a set of rules, which start with given glyph id.Methods inherited from class com.itextpdf.io.font.otf.ChainingContextualTable
checkIfBacktrackContextMatch, checkIfLookaheadContextMatch, getMatchingContextRuleMethods inherited from class com.itextpdf.io.font.otf.ContextualTable
checkIfContextMatch
-
Constructor Details
-
PosTableLookup8Format3
public PosTableLookup8Format3(OpenTypeFontTableReader openReader, int lookupFlag, PosTableLookup8Format3.PosRuleFormat3 rule) Creates a new Chained Contexts Positioning Format 3.- Parameters:
-
openReader- the OpenType font reader -
lookupFlag- specifies processing options, e.g. whether to skip base glyphs, marks or ligatures during glyph substitution or positioning. See Lookup table -
rule- the rule
-
-
Method Details
-
getSetOfRulesForStartGlyph
Description copied from class:ContextualTableGets a set of rules, which start with given glyph id.- Specified by:
-
getSetOfRulesForStartGlyphin classContextualTable<ContextualPositionRule> - Parameters:
-
startId- id of the first glyph in the sequence - Returns:
-
a list of
ContextualSubstRuleinstances. The list will be empty if there are no rules that start with a given glyph id
-