API reference
Preparing search index…

FontLoadMemoryCallback

Snapshot-based memory loading hook.

  • Load a face from independent font bytes.

    Parameters

    bytes
    Uint8Array

    Independent font data snapshot.

    faceIndex
    number

    Collection face index.

    family
    string

    Requested family.

    style
    number

    Native font style.

    weight
    number

    Native font weight.

    fallback
    boolean

    Enable fallback lookup.

    Returns

    boolean

    True if the face loaded.

    Source & inheritance

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