benilla-re systems structs docs

s_stockFontHeights

global · unassigned

Address
0x80258c · 8 bytes, up to 0x802593
Type
float[2]
Meaning
Holds the heights of the two stock text fonts in screen units, both 0.01953125
Confidence
verified, proof one
Finding
ui/fonttext#stock-text-block-fonts

Finding: Stock text block fonts in ui: font string internals

At start-up, after the font library starts, 0x442b00 makes the two stock text-block fonts, 0 and 1, both from Fonts\FRIZQT__.TTF at the height 0.01953125 (0x3ca00000), turned into the screen's device height and passed to TextBlockGenerateFont; each replaces and closes a font already in its slot. 0x442b50(i) returns stock font i and 0x442bd0(i) its height; both, and the maker 0x442b70, raise error 0x57 for an index of 2 or more, the height getter then answering 0.0. The maker also refuses a null or empty file name. The system message layer takes stock font 1.

The derivation is in the doc.