[]
        
(Showing Draft Content)

FontFeature

Type Alias: FontFeature

type FontFeature = object;

Identifies a typographic feature in the OpenType font.

Properties

applyLastAlternative?

optional applyLastAlternative?: boolean;

Indicates whether the last alternative should be applied if the specified position exceeds the number of alternatives.


enabled?

optional enabled?: boolean;

Indicates whether the feature should be enabled.


featureTag

featureTag: string;

The OpenType name identifier of the feature.


parameter?

optional parameter?: number;

1-based position of the alternate glyph ID in Alternate Substitution lookup.