benilla-re systems structs docs

IsBundledLcdFont

function · ui · orchestration

Address
0x72f540 · 71 bytes, up to 0x72f586
Signature
bool __fastcall (const char *name)
Meaning
Returns whether a face name is FZXiHeiI-Z08, AR Heiti2 Medium B5 or 2002L, ignoring case
Confidence
verified, proof one
Finding
ui/lcd#lcd-text-fonts

Finding: LCD text fonts in ui: the keyboard LCD

The font face of an LCD text element is set by name. FZXiHeiI-Z08, AR Heiti2 Medium B5 and 2002L, matched ignoring case, are the bundled faces: the client loads Fonts\FZXHLJW.ttf, Fonts\FZXHJW.ttf or Fonts\2002.ttf from the archives, registers it with AddFontMemResourceEx from gdi32.dll, and falls back to Microsoft Sans Serif when the load or the registration fails. Any other name makes a GDI font from the element's current one with the new face. The choice of file compares the names case-sensitively, so a bundled name in other letter case formats the path from a buffer that holds no name.

The derivation is in the doc.

Callers 1

Callees 1

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