# HG changeset patch # User nemo # Date 1266817224 0 # Node ID 2c9013664ea35b60558ca3ff5ffb57dafa2234ec # Parent bb9117753fe450842e5758ab09f2727ac9b1a0ab Fix CJK in tooltips. diff -r bb9117753fe4 -r 2c9013664ea3 hedgewars/uStore.pas --- a/hedgewars/uStore.pas Mon Feb 22 00:53:04 2010 +0000 +++ b/hedgewars/uStore.pas Mon Feb 22 05:40:24 2010 +0000 @@ -1360,7 +1360,10 @@ wa, ha: LongInt; tmpline, tmpline2, tmpdesc: shortstring; begin -font:= fnt16; +font:= CheckCJKFont(caption,fnt16); +font:= CheckCJKFont(subcaption,font); +font:= CheckCJKFont(description,font); +font:= CheckCJKFont(extra,font); // make sure there is a caption as well as a sub caption - description is optional if caption = '' then caption:= '???';