Skip to content

Conversation

slipher
Copy link
Member

@slipher slipher commented Oct 5, 2025

Stacked on #1847

Embed Unifont in the engine. This uses the latest release in OTF format. The file is intentionally not available to the gamelogic via the VFS. That way we'll never have any worries about assets depending on it and preventing us from changing things like #1844 (comment).

Also NUKE the fallback console font gfx/2d/bigchars.

It works; some things just need to be cleaned up slightly.

@slipher slipher changed the title Font embed Embed Unifont in the client and NUKE fallback font Oct 5, 2025
@slipher slipher mentioned this pull request Oct 5, 2025
unifont-17.0.01.otf
TODO add license

use OTF because:
- smaller
- unifont stopped releasing TTF

embedded font used when cl_consoleFont is the empty string (the new
default)
NUKE the legacy console font rendering code, which loaded a shader named
gfx/2d/bigchars. And remove the assets. This was only used if the font
speicfied by cl_consoleFont failed to load
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant