hedgewars/hwengine.dpr
changeset 2105 580f7610d661
parent 2039 3001445b4500
child 2145 fa43619eb3e7
--- a/hedgewars/hwengine.dpr	Sun May 24 13:01:33 2009 +0000
+++ b/hedgewars/hwengine.dpr	Sun May 24 13:01:39 2009 +0000
@@ -416,6 +416,10 @@
 begin
 WriteLnToConsole('Hedgewars ' + cVersionString + ' engine');
 GetParams;
+// hack in font with support for CJK
+if (cLocaleFName = 'zh_CN.txt') or (cLocaleFName = 'zh_TW.txt') or (cLocaleFName = 'ja.txt') then
+    Fontz:= FontzCJK;
+
 Randomize;
 
 if GameType = gmtLandPreview then GenLandPreview