discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Title missing in submenu in Chinese


From: Yen-Ju Chen
Subject: Re: Title missing in submenu in Chinese
Date: Fri, 25 Jul 2003 17:30:21 -0400




From: Fred Kiefer <fredkiefer@gmx.de>
To: Yen-Ju Chen <yjchenx@hotmail.com>
CC: discuss-gnustep@gnu.org
Subject: Re: Title missing in submenu in Chinese
Date: Fri, 25 Jul 2003 23:06:05 +0200

Yen-Ju Chen wrote:
I just notice that the title of submenu is missing when I use Chinese in GNUstep.
 I attach the screenshot, and it is taken from Gomoku.app,
 which is localized in Chinese.
 Test with other (western) languages seems O.K.
And if I change the menu string into English letter in TraditionalChinese/Localizable.strings,
 the submenu title is back.
 I guess submenu has problem to display chinese (CJK probably).

I am surprised by this problem, as the code used in [NSMenuWindowTitleView drawRect:] (to be found in NSMenuView.m) looks very similar to the code used to draw menu items in [NSCell _drawText:inFrame]. I would expect them to behave the same. Could you please add a few debug statements into these two methods to further drag down, where the problem comes from.


 My fault.
 I forgot that NSBoldFont won't fall into NSFont.
 Wrong font make it empty.
 After add NSBoldFont in user defaults, it works.

 Thanx for the help

 Yen-Ju

Cheers
Fred


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





reply via email to

[Prev in Thread] Current Thread [Next in Thread]