-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
In principle, I suppose it should be possible to customize the console font. But the console is supposed to be a place that cannot be modified by the sandboxed gamelogic. So it should not be possible for paks to override it in the VFS. If we go ahead and embed unifont.ttf
in the engine, that could work to prevent pak overriding.
I believe fonts are currently searched in both the VFS and the homepath. So it should be possible to customize the font by setting cl_consoleFont
and putting your custom font in the homepath (haven't tested though). Customizing it in the VFS as a user is not very useful, since servers enforce the VFS contents.
Proposal:
- Embed the default font in the engine
- NUKE
gfx/2d/bigchars
- Set
cl_consoleFont
to an empty string by default, meaning use the embedded one - If the cvar is not empty, search for the font in (only) the homepath
Or, we could just decide not to care about customization and hard-code the embedded one only.