benilla-re systems structs docs

ConsoleCommand_FontSize

function · console · primitive

Address
0x639660 · 150 bytes, up to 0x6396f5
Signature
uint32_t __fastcall (uint32_t unused, const char *args)
Meaning
Sets the font size to the number times 0.001 within 0.01 to 0.05, recreating the font and the height
Confidence
verified, proof one
Name from
the community database (idb)
Finding
console/commands#screen-commands
Test
console::font_size_set_difftest

Finding: Screen commands in console: commands

The screen registers 13 commands in category 2. fontcolor, bgcolor and highlightcolor set colours (screen#colour-classes). fontsize <n> sets the font size to n · 0.001 clamped to 0.01 to 0.05 and keeps the panel height. font <name> loads Fonts\<name>.ttf. consolelines <n> sets the line count to n (0 is ignored, a negative number is accepted) and the height to n · size. clear frees every line. proportionaltext toggles the proportional style bit 0x10. spacing <n> sets the character spacing to n, or 0 with no argument. settings prints the size, the font file and the line count. default restores the colours, 0.02, Fonts\ARIALN.ttf and 10 lines. closeconsole closes the screen and repeat <n> <command> queues a command.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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