API reference
Preparing search index…

FontFaceCallback

Provider-owned face selection hook.

  • Select a registered face for the request.

    Parameters

    family
    string

    Requested family.

    style
    number

    Native font style.

    weight
    number

    Native font weight.

    size
    number

    Requested pixel size.

    Returns

    Owned face token, or null if unavailable.

    Source & inheritance

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