meo-skia-canvas
    Preparing search index...

    Interface TextFontFeatures

    One OpenType feature applied to a text run. name is an OpenType feature tag ("smcp", "liga", "onum", "tnum", "ss01", "zero", ...); value is the feature selector -- 1/0 to enable/disable, or an index for features with multiple alternates. Defaults to 1 (enable) when omitted. Mirrors CanvasKit's TextFontFeatures.

    🧪 Not in the HTML Canvas standard.

    interface TextFontFeatures {
        name: string;
        value?: number;
    }
    Index
    name: string

    Four-character OpenType feature tag, such as "smcp" or "ss01".

    value?: number

    Feature selector: 1 to enable, 0 to disable, or an index where the feature offers alternates.