SetLcdTextFont
function · ui · host
- Address
0x72f590· 431 bytes, up to0x72f73e- Meaning
- Sets an LCD text element's face: registers a bundled face's font file, else makes a GDI font
- 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 0
None by a direct call or jump.
Callees 7
- SFile::LoadByName storm
- SFile::Unload storm
- SStrCmp storm
- SStrCmpI storm
- SStrCopy storm
- SStrPrintf storm
- IsBundledLcdFont ui
Calls and jumps by a bare address, from tables/calls.tsv.