View Issue Details

IDProjectCategoryView StatusLast Update
0002811The Dark ModCodingpublic06.08.2011 17:46
Reportertels Assigned Totels  
Status resolvedResolutionfixed 
Product VersionTDM 1.06 
Target VersionTDM 1.07Fixed in VersionTDM 1.07 
Summary0002811: Font loading does not fall back to English
DescriptionWhen D3 loads a German, Italian, Spanish or English font, it always uses fonts/english. For other languages, it uses "fonts/$language/", e.g. "fonts/polish". The same goes for "dds/fonts/...".

Apart from the strange distinction between these languages and "other" languages, the loader does not fall back to the English font. This means that for any additional language, we need to copy the font files and the textures, which wastes resources in case the font is actually the same.

Once D3 goes open source, this should be fixed.
TagsNo tags attached.


related to 0002779 confirmed Translate the menu and HUD into different languages 
related to 0002812 resolvedtels Character 0xFF does not work in fonts 




06.08.2011 17:45

reporter   ~0003977

This is fixed as a side-effect of fixing 0002817 - the new I18N manager can simply set "sys_lang" to english for any non-supported language, which means D3 loads the english (western) font, but still uses the modified-on-the-fly dictionary for proper translation.

A bit hacky, but it works :)

Issue History

Date Modified Username Field Change
15.07.2011 06:45 tels New Issue
15.07.2011 06:45 tels Relationship added related to 0002779
15.07.2011 06:49 tels Relationship added related to 0002812
06.08.2011 17:43 tels Assigned To => tels
06.08.2011 17:43 tels Status new => assigned
06.08.2011 17:45 tels Note Added: 0003977
06.08.2011 17:45 tels Status assigned => resolved
06.08.2011 17:45 tels Fixed in Version => TDM 1.07
06.08.2011 17:45 tels Resolution open => fixed
06.08.2011 17:46 tels Target Version => TDM 1.07