Interface GlyphPositioning
- All Known Implementing Classes:
GlyphPositioningSubtable,GlyphPositioningTable.ChainedContextualSubtable,GlyphPositioningTable.ChainedContextualSubtableFormat1,GlyphPositioningTable.ChainedContextualSubtableFormat2,GlyphPositioningTable.ChainedContextualSubtableFormat3,GlyphPositioningTable.ContextualSubtable,GlyphPositioningTable.ContextualSubtableFormat1,GlyphPositioningTable.ContextualSubtableFormat2,GlyphPositioningTable.ContextualSubtableFormat3,GlyphPositioningTable.CursiveSubtable,GlyphPositioningTable.CursiveSubtableFormat1,GlyphPositioningTable.MarkToBaseSubtable,GlyphPositioningTable.MarkToBaseSubtableFormat1,GlyphPositioningTable.MarkToLigatureSubtable,GlyphPositioningTable.MarkToLigatureSubtableFormat1,GlyphPositioningTable.MarkToMarkSubtable,GlyphPositioningTable.MarkToMarkSubtableFormat1,GlyphPositioningTable.PairSubtable,GlyphPositioningTable.PairSubtableFormat1,GlyphPositioningTable.PairSubtableFormat2,GlyphPositioningTable.SingleSubtable,GlyphPositioningTable.SingleSubtableFormat1,GlyphPositioningTable.SingleSubtableFormat2
public interface GlyphPositioning
The GlyphPositioning interface is implemented by a glyph positioning subtable
that supports the determination of glyph positioning information based on script and
language of the corresponding character content.
This work was originally authored by Glenn Adams (gadams@apache.org).
-
Method Summary
Modifier and TypeMethodDescriptionbooleanPerform glyph positioning at the current index, mutating the positioning state object as required.
-
Method Details
-
position
Perform glyph positioning at the current index, mutating the positioning state object as required. Only the context associated with the current index is processed.- Parameters:
ps- glyph positioning state object- Returns:
- true if the glyph subtable applies, meaning that the current context matches the associated input context glyph coverage table; note that returning true does not mean any position adjustment occurred; it only means that no further glyph subtables for the current lookup table should be applied.
-