API reference
Preparing search index…

FontEngineCapability

Upstream engine semantics, independent of current selection.

Feature flags describe the implementation when compiled. A true feature requires both compiled and available before it can be used.

interface FontEngineCapability {
    available: boolean;
    compiled: boolean;
    effects: boolean;
    kerningControl: boolean;
    letterSpacing: boolean;
    memoryLoading: boolean;
    priorCharacter: boolean;
    scalable: boolean;
    shaping: boolean;
    strictFamilyMatching: boolean;
}
Type hierarchy

Hierarchy (View Summary)

Source & inheritance
Member directory10

Properties

Properties

available: boolean

Runtime initialized; font engines additionally require active selection.

Source & inheritance
compiled: boolean

Module linked into this native binary.

Source & inheritance
effects: boolean

Renders font effects with their effect opacity.

Source & inheritance
kerningControl: boolean

Honors TextShapingContext.fontKerning; bitmap always uses atlas kerning.

Source & inheritance
letterSpacing: boolean

Honors TextShapingContext.letterSpacing.

Source & inheritance
memoryLoading: boolean

Supports font bytes; bitmap only reads atlas metadata files.

Source & inheritance
priorCharacter: boolean

Measurement includes the supplied prior character; HarfBuzz ignores it.

Source & inheritance
scalable: boolean

Rasterizes requested pixel sizes; bitmap uses its fixed atlas size.

Source & inheritance
shaping: boolean

Shapes script clusters and ligatures natively through HarfBuzz.

Source & inheritance
strictFamilyMatching: boolean

Requires an exact family; upstream bitmap uses a permissive best match.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0