diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-05 21:51:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-05 21:51:03 +0300 |
commit | 5090180c23dd53de111c316286639d3ba8277468 (patch) | |
tree | b936b58ce905a06cc83a5ec70ce08629722abd04 /src/gui/theme.cpp | |
parent | 38489512096ca1f5a79a5fdaf9a73c9f5fda22e2 (diff) | |
download | mv-5090180c23dd53de111c316286639d3ba8277468.tar.gz mv-5090180c23dd53de111c316286639d3ba8277468.tar.bz2 mv-5090180c23dd53de111c316286639d3ba8277468.tar.xz mv-5090180c23dd53de111c316286639d3ba8277468.zip |
Add chinese font auto usage if detected chinese locale.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 45c6db5ba..6fdae088c 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -1310,6 +1310,8 @@ ThemeInfo *Theme::loadInfo(const std::string &themeName) readValue(secureFont); else if (xmlNameEqual(infoNode, "japanFont")) readValue(japanFont); + else if (xmlNameEqual(infoNode, "chinaFont")) + readValue(chinaFont); else if (xmlNameEqual(infoNode, "fontSize")) readIntValue(fontSize); else if (xmlNameEqual(infoNode, "npcfontSize")) |