GetStockFont
function · unassigned
- Address
0x442b50· 23 bytes, up to0x442b66- Signature
void * __fastcall (uint32_t index)- Meaning
- Returns stock text-block font 0 or 1, raising error 0x57 for an index of 2 or more
- 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.
Callers 1
- SysMsgDisplayInitialize unassigned
Callees 1
- SErrSetLastError storm
Calls and jumps by a bare address, from tables/calls.tsv.