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 - I18N - Chinese characters display garbage in Project Properties dialog
Summary: I18N - Chinese characters display garbage in Project Properties dialog
Status: CLOSED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Craig Conover
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-29 08:44 UTC by Will Zhang
Modified: 2007-11-08 07:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (69.53 KB, application/octet-stream)
2007-10-29 08:46 UTC, Will Zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
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.