Class Gsub
- java.lang.Object
-
- com.adobe.fontengine.font.opentype.Table
-
- com.adobe.fontengine.font.opentype.LayoutTable
-
- com.adobe.fontengine.font.opentype.LookupTable
-
- com.adobe.fontengine.font.opentype.Gsub
-
public final class Gsub extends LookupTable
Gives access to the 'GSUB' table.Applying features.
To apply features, the client first resolves a feature tag to a set of lookups, using the
resolveFeatureTagmethod. Then, it invokes the GSUB engine to apply those lookups to the glyph run, using theapplyLookupsmethod. The client passes two objects toapplyLookups, implementing theShaperandSelectorinterfaces respectively. TheShaperobject is used by the GSUB engine to access the glyphs as well as to report transformations to be done on the glyph run. TheSelectorobject is used by the GSUB engine to learn if the feature should be applied at some positions. Thus, theShaperandSelectorobjects are the bulk of the interface between the client and the GSUB engine.
-
-
Field Summary
Fields Modifier and Type Field Description static ElementAttributecomponentCountAttributestatic ElementAttributeligatureComponentAttribute
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstream(java.util.Map tables)-
Methods inherited from class com.adobe.fontengine.font.opentype.LookupTable
applyLookups, featureIsPresent, resolveFeatureTag
-
-
-
-
Field Detail
-
componentCountAttribute
public static final ElementAttribute componentCountAttribute
-
ligatureComponentAttribute
public static final ElementAttribute ligatureComponentAttribute
-
-