UI module

load_font

procedure · 1 overloadsince 0.31.0Source

Open the font file at path into the next slot. Returns false when it cannot be read or parsed.

load_font :: (text: *Text_System, path: string) -> bool

Open the font file at path into the next slot. Returns false when it cannot be read or parsed.

Parameters

text: *Text_System
the text system to add the font to.
path: string
the font file to read.

Returns

bool

See also