This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 120311

Summary: I18N - Chinese characters display garbage in Project Properties dialog
Product: uml Reporter: Will Zhang <wzhang>
Component: GeneralAssignee: Craig Conover <conover>
Status: CLOSED FIXED    
Severity: blocker CC: jf4jbug
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Will Zhang 2007-10-29 08:44:31 UTC
#1. launch nb6beta2 + zh dummy jars
#2. create uml project
#3. right click the project -> Properties -> Code Generation
#4. expand the Java node in Tempates

result: Chinese characters display garbage
I'll attach the screenshot
Comment 1 Will Zhang 2007-10-29 08:46:05 UTC
Created attachment 51870 [details]
screenshot
Comment 2 Ken Frank 2007-10-29 16:53:12 UTC
Could there be a hardcoded font being used here ? Since its in italics
am wondering if that is the case and there is no mapping equivalent for
it in jdk font properties.

in ja locale it looks ok, although the font size
is smaller than the default or user chosen font --
the font size needs to be the same as the
other font sizes since

a. for zh, some fonts smaller than their hardocded choice
to 14 point do not look ok.

b. if user has chosen a certain font size, they dont
want to see something smaller.

thus as part of this fix, can the font size of those
items in gif with the boxes be made same font size as
other parts ?

ken.frank@sun.com
Comment 3 Ken Frank 2007-10-29 16:55:47 UTC
moving to p2 since that is appropriate priority for these kind of issues.

ken.frank@sun.com
Comment 4 Craig Conover 2007-10-30 19:44:48 UTC
Font family/size was being hardcoded. The font family and size is now adjusted dynamically.
Comment 5 Will Zhang 2007-11-08 07:08:33 UTC
verified and fixed.
I will close it.
Thank you.