benilla-re systems structs docs

ParseFontFlags

function · ui · orchestration

Address
0x6f1a90 · 53 bytes, up to 0x6f1ac4
Meaning
Reads font flags as substrings: OUTLINE 1, THICKOUTLINE 4, MONOCHROME 2
Confidence
verified, proof one
Finding
ui/fontstring#setfont

Finding: SetFont in ui: FontString and Font

SetFont(file, height, flags) takes a string and a number and raises a usage error otherwise. The flags are found as substrings, ignoring case: OUTLINE 1, THICKOUTLINE 4, MONOCHROME 2, so THICKOUTLINE sets 5. The same file, height and flags skip the load. A height of 0 or less, or a file the engine cannot load, returns nil; otherwise the font is replaced, its followers updated, and it returns the number 1.

The derivation is in the doc.

Callers 2

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.