API reference
Preparing search index…

A file font registered under an explicit family through Rml::LoadFontFace.

interface PreloadFont {
    faceIndex?: number;
    fallback?: boolean;
    family: string;
    source: string;
    style?: FontStyle;
    weight?: number;
}
Source & inheritance
Member directory6

Properties

Properties

faceIndex?: number

Nonnegative int32 collection face index; defaults to 0.

Source & inheritance
fallback?: boolean

Register as a fallback face; defaults to false.

Source & inheritance
family: string

Family name used in RCSS.

Source & inheritance
source: string

File path resolved by the runtime root policy.

Source & inheritance
style?: FontStyle

Face style; defaults to Normal.

Source & inheritance
weight?: number

Auto (0) or integer 1–1000; defaults to Auto.

Source & inheritance

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