summaryrefslogtreecommitdiff
path: root/src/defaults.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/defaults.cpp
parent38489512096ca1f5a79a5fdaf9a73c9f5fda22e2 (diff)
downloadmv-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/defaults.cpp')
-rw-r--r--src/defaults.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 8aa64fcec..ab28532fe 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -188,6 +188,7 @@ DefaultsData* getConfigDefaults()
AddDEF("helpFont", "fonts/dejavusansmono.ttf");
AddDEF("secureFont", "fonts/dejavusansmono.ttf");
AddDEF("japanFont", "fonts/mplus-1p-regular.ttf");
+ AddDEF("chinaFont", "fonts/wqy-microhei.ttf");
AddDEF("npcFont", "fonts/dejavusans.ttf");
AddDEF("showBackground", true);
AddDEF("enableTradeTab", true);
@@ -430,6 +431,7 @@ DefaultsData* getBrandingDefaults()
AddDEF("secureFont", "fonts/dejavusansmono.ttf");
AddDEF("npcFont", "fonts/dejavusans.ttf");
AddDEF("japanFont", "fonts/mplus-1p-regular.ttf");
+ AddDEF("chinaFont", "fonts/wqy-microhei.ttf");
AddDEF("guiPath", "graphics/gui/");
AddDEF("guiThemePath", "themes/");