Interface GlyphSubstitution
-
- All Known Implementing Classes:
GlyphSubstitutionSubtable,GlyphSubstitutionTable.AlternateSubtable,GlyphSubstitutionTable.AlternateSubtableFormat1,GlyphSubstitutionTable.ChainedContextualSubtable,GlyphSubstitutionTable.ChainedContextualSubtableFormat1,GlyphSubstitutionTable.ChainedContextualSubtableFormat2,GlyphSubstitutionTable.ChainedContextualSubtableFormat3,GlyphSubstitutionTable.ContextualSubtable,GlyphSubstitutionTable.ContextualSubtableFormat1,GlyphSubstitutionTable.ContextualSubtableFormat2,GlyphSubstitutionTable.ContextualSubtableFormat3,GlyphSubstitutionTable.LigatureSubtable,GlyphSubstitutionTable.LigatureSubtableFormat1,GlyphSubstitutionTable.MultipleSubtable,GlyphSubstitutionTable.MultipleSubtableFormat1,GlyphSubstitutionTable.ReverseChainedSingleSubtable,GlyphSubstitutionTable.ReverseChainedSingleSubtableFormat1,GlyphSubstitutionTable.SingleSubtable,GlyphSubstitutionTable.SingleSubtableFormat1,GlyphSubstitutionTable.SingleSubtableFormat2
public interface GlyphSubstitutionThe
GlyphSubstitutioninterface is implemented by a glyph substitution subtable that supports the determination of glyph substitution information based on script and language of the corresponding character content.This work was originally authored by Glenn Adams (gadams@apache.org).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleansubstitute(GlyphSubstitutionState ss)Perform glyph substitution at the current index, mutating the substitution state object as required.
-
-
-
Method Detail
-
substitute
boolean substitute(GlyphSubstitutionState ss)
Perform glyph substitution at the current index, mutating the substitution state object as required. Only the context associated with the current index is processed.- Parameters:
ss- glyph substitution state object- Returns:
- true if the glyph subtable was applied, meaning that the current context matches the associated input context glyph coverage table
-
-