Feature #1149

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

Add fonts per language loading

Added by Spyhawk 7 months ago. Updated about 1 month ago.

Status:New% Done:

0%

Priority:NormalSpent time:-
Assignee:-
Category:Client
Target version:2.78
OS: Arch:

Description

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 7 months ago

ui: removed broken Greek language for now

The shipped Courier Prime font doesn’t support Greek glyphs

History

#1 Updated by IR4T4 6 months ago

  • Target version changed from 2.78 to 2.77

#2 Updated by Spyhawk 5 months ago

  • Target version changed from 2.77 to 2.78

#3 Updated by Spyhawk about 1 month 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