API reference
Preparing search index…

FontLoadCallback

File metadata loading hook.

  • Load a face using its embedded metadata.

    Parameters

    path
    string

    Font file path.

    faceIndex
    number

    Collection face index.

    fallback
    boolean

    Enable fallback lookup.

    weight
    number

    Native font weight.

    Returns

    boolean

    True if the face loaded.

    Source & inheritance

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