public final class Gsub extends LookupTable
To apply features, the client first resolves a feature tag to a
set of lookups, using the resolveFeatureTag method. Then,
it invokes the GSUB engine to apply those lookups to the glyph run,
using the applyLookups method. The client passes two objects
to applyLookups, implementing the Shaper
and Selector interfaces respectively. The Shaper
object is used by the GSUB engine to access the glyphs as well as to
report transformations to be done on the glyph run. The
Selector object is used by the GSUB engine to learn if the
feature should be applied at some positions. Thus, the Shaper
and Selector objects are the bulk of the interface between
the client and the GSUB engine.
| Modifier and Type | Field and Description |
|---|---|
static ElementAttribute |
componentCountAttribute |
static ElementAttribute |
ligatureComponentAttribute |
| Modifier and Type | Method and Description |
|---|---|
void |
stream(Map tables) |
applyLookups, featureIsPresent, resolveFeatureTagpublic static final ElementAttribute componentCountAttribute
public static final ElementAttribute ligatureComponentAttribute
public void stream(Map tables)
Copyright © 2010 - 2020 Adobe. All Rights Reserved