SuperTux / supertux

SuperTux source code
https://supertux.org
GNU General Public License v3.0
2.48k stars 474 forks source link

Some fonts are unused #2918

Closed MatusGuy closed 2 months ago

MatusGuy commented 2 months ago

I'm not sure if we use all the fonts in data/fonts/, or if some are used by other languages. But I'm filing this issue because if some are unused, they might bloat our game.

tylerandari13 commented 2 months ago

I opened the chinese translation of the game and any untranslated words were shown in English with this weird font. I think almost all if not all are used by translations, but i cant say for sure, nor can i say why we dont just use the normal font for untranslated words.

MatusGuy commented 2 months ago

using the normal font for untranslated words would add useless complexity. We use a different font for some languages because our default doesn't support all characters. I'm wondering if all of these fonts are used. Because, ValeraRound for example, only supports latin extended, so I'm guessing it's not really used.

MatusGuy commented 2 months ago

turns out all of these fonts are used. But this is yet another reason to pack translations as an addon in the repository. Then, we can package the fonts there.

Vankata453 commented 2 months ago

If all the fonts are used, can we close this? Putting translations in a different repository might be better as a different issue.

MatusGuy commented 2 months ago

sure