Class GlyphTable.ChainedGlyphSequenceRule
java.lang.Object
org.apache.fop.complexscripts.fonts.GlyphTable.Rule
org.apache.fop.complexscripts.fonts.GlyphTable.GlyphSequenceRule
org.apache.fop.complexscripts.fonts.GlyphTable.ChainedGlyphSequenceRule
- Enclosing class:
- GlyphTable
The
ChainedGlyphSequenceRule
class implements a subclass of GlyphSequenceRule
that supports matching on a specific glyph sequence in a specific chained contextual.-
Constructor Summary
ConstructorsConstructorDescriptionChainedGlyphSequenceRule
(GlyphTable.RuleLookup[] lookups, int inputSequenceLength, int[] glyphs, int[] backtrackGlyphs, int[] lookaheadGlyphs) Instantiate a ChainedGlyphSequenceRule. -
Method Summary
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphTable.GlyphSequenceRule
getGlyphs, getGlyphs
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphTable.Rule
getInputSequenceLength, getLookups, resolveLookupReferences
-
Constructor Details
-
ChainedGlyphSequenceRule
public ChainedGlyphSequenceRule(GlyphTable.RuleLookup[] lookups, int inputSequenceLength, int[] glyphs, int[] backtrackGlyphs, int[] lookaheadGlyphs) Instantiate a ChainedGlyphSequenceRule.- Parameters:
lookups
- the rule's lookupsinputSequenceLength
- number of glyphs constituting input sequence (to be consumed)glyphs
- the rule's input glyph sequence to match, starting with second glyph in sequencebacktrackGlyphs
- the rule's backtrack glyph sequence to match, starting with first glyph in sequencelookaheadGlyphs
- the rule's lookahead glyph sequence to match, starting with first glyph in sequence
-
-
Method Details
-
getBacktrackGlyphs
public int[] getBacktrackGlyphs()- Returns:
- the backtrack glyphs
-
getLookaheadGlyphs
public int[] getLookaheadGlyphs()- Returns:
- the lookahead glyphs
-
toString
- Overrides:
toString
in classGlyphTable.GlyphSequenceRule
-