benilla-re systems structs docs

s_fontFlagNames

global · ui

Address
0x811b10 · 24 bytes, up to 0x811b27
Type
const uint32_t[6]
Meaning
Holds three pairs of a font flag and its name: 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.