Added basic Japanese font support.

This commit is contained in:
linshier
2010-10-24 07:56:28 +00:00
parent 0ce36747a7
commit 60ef07a025
11 changed files with 769 additions and 71 deletions

View File

@@ -141,7 +141,7 @@ void Translator::init() {
if (fileExists(name.c_str())){
// fixup for Chinese language support.
std::transform(lang.begin(), lang.end(), lang.begin(), ::tolower);
if (lang.compare("cn") == 0)
if (lang.compare("cn") == 0 || lang.compare("jp") == 0)
neofont = true;
else
neofont = false;