Feature #1149

Feature #581: Add TrueType Unicode font for the ingame console

Add fonts per language loading

Added by Spyhawk 9 months ago. Updated 3 months ago.

Status:New% Done:


Priority:NormalSpent time:-
Target version:2.78
OS: Arch:


We currently use 2 single FreeType fonts in the game, and they are used for a wide range of language with different character and symbols.
This UTF-8 support is by definition limited, and only a few charsets can be supported (currently: cyrilic is good, with limited support for greek).

See if it is possible to load different fonts depending on cl_lang setup. This could open translation to a wide rande of new languages.

Associated revisions

Revision d7f1b273
Added by Spyhawk 9 months ago

ui: removed broken Greek language for now

The shipped Courier Prime font doesn’t support Greek glyphs


#1 Updated by IR4T4 8 months ago

  • Target version changed from 2.78 to 2.77

#2 Updated by Spyhawk 7 months ago

  • Target version changed from 2.77 to 2.78

#3 Updated by Spyhawk 3 months ago

Alternatively, check for replacement of Courrier Prime by Tino, a Liberation Serif variation that has support for Cyrillic and Greek characters.
ALso use cousine (Liberation mono) as an alternative to Liberation Sans, since monospaced might make things much easier with in-game text alignment.

Also available in: Atom PDF