Feature #1149

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

Add fonts per language loading

Added by Spyhawk over 1 year ago. Updated 10 months ago.

Status:New% Done:


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 over 1 year ago

ui: removed broken Greek language for now

The shipped Courier Prime font doesn’t support Greek glyphs


#1 Updated by IR4T4 over 1 year ago

  • Target version changed from 2.78 to 2.77

#2 Updated by Spyhawk about 1 year ago

  • Target version changed from 2.77 to 2.78

#3 Updated by Spyhawk 10 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