s_lcdTextVtable
global · ui
- Address
0x8129d8· 168 bytes, up to0x812a7f- Type
void *[42]- Meaning
- Holds the vtable of the LCD text element, whose slot +0x70 is the font setter 0x72f590
- 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.