summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-05 21:51:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-05 21:51:03 +0300
commit5090180c23dd53de111c316286639d3ba8277468 (patch)
treeb936b58ce905a06cc83a5ec70ce08629722abd04 /src/gui/theme.cpp
parent38489512096ca1f5a79a5fdaf9a73c9f5fda22e2 (diff)
downloadmanaverse-5090180c23dd53de111c316286639d3ba8277468.tar.gz
manaverse-5090180c23dd53de111c316286639d3ba8277468.tar.bz2
manaverse-5090180c23dd53de111c316286639d3ba8277468.tar.xz
manaverse-5090180c23dd53de111c316286639d3ba8277468.zip
Add chinese font auto usage if detected chinese locale.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp2
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"))