API reference
Preparing search index…

FontLoadNamedCallback

Explicitly named file loading hook.

  • Load a face with explicit family and style.

    Parameters

    path
    string

    Font file path.

    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