benilla-re systems structs docs

s_fontFlagsText

global · ui

Address
0xceea60 · 64 bytes, up to 0xceea9f
Type
char[64]
Meaning
Holds the flags text FormatFontFlags builds and returns, emptied and rewritten by each call
Confidence
verified, proof one
Finding
ui/fontmethods#font-flags-text

Finding: Font flags text in ui: font accessors from Lua

GetFont's third value is the text FormatFontFlags(flags) (0x6f1ad0) builds: the names of the flags that share a bit with the argument, in the order of the table 0x811b10, OUTLINE (1), THICKOUTLINE (4) and MONOCHROME (2), joined by , , or the empty string for none. The text lives in the 64-byte static 0xceea60, which every call empties and rewrites, so a caller holds it only until the next call. FontString:GetFont passes the string's flags (0x772810) and the shared GetFont the font's +0x4c; each pushes the text with lua_pushstring.

The derivation is in the doc.