Bug 113691 - I18N-Change the default font of output and editor windows for Chinese release to DialogInput/12
I18N-Change the default font of output and editor windows for Chinese release...
Status: NEW
Product: editor
Classification: Unclassified
Component: -- Other --
5.x
All Windows XP
: P3 with 2 votes (vote)
: 6.x
Assigned To: Milutin Kristofic
issues@editor
: I18N
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-24 03:58 UTC by rehte
Modified: 2011-09-05 09:33 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
descriptions and reasoning (1.35 KB, text/plain)
2007-08-24 04:00 UTC, rehte
Details
netbeans 5.5.1 using monospaced/12 font in Chinese (137.37 KB, image/png)
2007-08-24 04:43 UTC, rehte
Details
netbeans 5.5.1 using monospaced 13 in Chinese (114.23 KB, image/png)
2007-08-24 04:44 UTC, rehte
Details
netbeans 5.5.1 using DialogInput 13 in Chinese (118.53 KB, image/png)
2007-08-24 04:44 UTC, rehte
Details
netbeans 5.5.1 using DialogInput 12 in Chinese (139.36 KB, image/png)
2007-08-24 04:45 UTC, rehte
Details
NetBeans 6.0 using DialogInput 12 in Chinese(Currently using english in Chinese locale) (113.73 KB, image/png)
2007-08-24 04:50 UTC, rehte
Details
netbeans 5.5.1 with monospaced 12 in Chinese (75.75 KB, application/octet-stream)
2007-08-27 05:03 UTC, rehte
Details
netbeans 5.5.1 using monospaced 13 on Chinese Solaris (85.54 KB, application/octet-stream)
2007-08-27 05:03 UTC, rehte
Details
netbeans 5.5.1 using dialoginput 12 on Chinese Solaris (94.77 KB, application/octet-stream)
2007-08-27 05:04 UTC, rehte
Details
netbeans 5.5.1 using dialoginput 13 on Chinese Solaris (83.81 KB, application/octet-stream)
2007-08-27 05:04 UTC, rehte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rehte 2007-08-24 03:58:30 UTC
NetBeans uses 'monospaced/12' in the output windows and the editors, which is good for English version, but bad for
Chinese version. In Chinese locale, this font is very small and ugly. 'DialogInput/12' is better choice. Please change
it to use 'DialogInput/12' as the default font in the output windows and the editors. For detailed description and
reasoning, please see the attachements.
Comment 1 rehte 2007-08-24 04:00:00 UTC
Created attachment 47242 [details]
descriptions and reasoning
Comment 2 rehte 2007-08-24 04:43:27 UTC
Created attachment 47245 [details]
netbeans 5.5.1 using monospaced/12 font in Chinese
Comment 3 rehte 2007-08-24 04:44:10 UTC
Created attachment 47246 [details]
netbeans 5.5.1 using monospaced 13 in Chinese
Comment 4 rehte 2007-08-24 04:44:52 UTC
Created attachment 47247 [details]
netbeans 5.5.1 using DialogInput 13 in Chinese
Comment 5 rehte 2007-08-24 04:45:38 UTC
Created attachment 47248 [details]
netbeans 5.5.1 using DialogInput 12 in Chinese
Comment 6 rehte 2007-08-24 04:50:53 UTC
Created attachment 47249 [details]
NetBeans 6.0 using DialogInput 12 in Chinese(Currently using english in Chinese locale)
Comment 7 rehte 2007-08-24 04:55:17 UTC
Sorry, my descriptions of the attachment do not match the contents. Please look at the attachments where there are
descriptions about them.
Comment 8 Vitezslav Stejskal 2007-08-24 16:00:04 UTC
Any comments from the UI gurus? Is DialogInput always available on all platforms, OSes, etc? Thanks.
Comment 9 Ken Frank 2007-08-24 16:26:40 UTC
we would also need to make sure solution looked ok for Chinese on solaris, linux and mac.

as to dialoginput itself being defined for other os, I see it defined for solaris sparc jdk
although not a specific definition for it for Chinese; thus I think it might use the fallback
fonts ?

Rehte, can you comment about that ?

Also, a general comment about editor font properties,
I think making it easier to set the default editor font for all editor languages would be helpful
since now they need to know they need to choose All Languages from the dropdown and then Default,
and its not so clear visually that its needed; perhaps some separate choice box ?

in the case of this issue, if someone did not want that font any editors, it would be easier for them
to change it.

Finally, I don't think there is a prop to allow user to change fonts for all of ide, or even some
major kind of windows; and one of the requests in this issue is related to output windows.
Should there be considerations for having font props for certain other windows ?

ken.frank@sun.com

ken.frank@sun.com
Comment 10 rehte 2007-08-27 03:51:52 UTC
I've been doing experiments on solaris and linux. It was aweful on them. I don't know exactly how java font works. But
generally they cannot even display Chinese using monospaced and dialoginput. I had to specifically choose SimSun/NSimSun
to display Chinese. On the other hand, maybe it was caused by my OS installation. Because, my solrais and linux are not
installed with some Chinese font bundles.
Comment 11 rehte 2007-08-27 03:57:20 UTC
BTW, I think netbeans ui team should work with java2d/awt team to figure out how fonts are choosen on a specific
platform. Only you know exactly how the font system work can you find out the ultimate solution. I also believe this is
only an issue on Chinese platform. There must be the similar font issues with asian locale such Korean and Japanese.
Comment 12 rehte 2007-08-27 04:00:31 UTC
Sorry, a typo in the above comment. It should be "I also believe this is NOT ONLY an issue on Chinese platform. There
must be the similar font issues with asian locale such Korean and Japanese."
Comment 13 rehte 2007-08-27 05:02:04 UTC
I re-configured my solaris with Chinese locale enabled. After some fonts are set up, I opened netbeans 5.5.1 and found
the Chinese display pretty good, both on monospaced and dialoginput. It seems that solaris java mapped both monospaced
and dialoginput Chinese into "Courier New" first then SimSun/NSimSun.
I don't have a properly configurated Linux yet. So on linux, still aweful.
Comment 14 rehte 2007-08-27 05:03:01 UTC
Created attachment 47429 [details]
netbeans 5.5.1 with monospaced 12 in Chinese
Comment 15 rehte 2007-08-27 05:03:52 UTC
Created attachment 47430 [details]
netbeans 5.5.1 using monospaced 13 on Chinese Solaris
Comment 16 rehte 2007-08-27 05:04:25 UTC
Created attachment 47431 [details]
netbeans 5.5.1 using dialoginput 12 on Chinese Solaris
Comment 17 rehte 2007-08-27 05:04:58 UTC
Created attachment 47432 [details]
netbeans 5.5.1 using dialoginput 13 on Chinese Solaris
Comment 18 Ken Frank 2007-08-27 16:52:19 UTC
There have been other requests for a property in options to be able to set the ide global font,
which is separate from the editor font.  There is not such a property.
This related also to that the DialogInput font could be helpful for seeing Chinese characters
better in those parts of the ide - which is where translated messages/labels are shown.

(there might be other windows that don't use the global ide font; a prop should probably
be for them also)

To developers - what would be the category/subcat to use ?  I can also ask xdesign and others
about it.

ken.frank@sun.com
Comment 19 Vitezslav Stejskal 2007-08-28 10:23:57 UTC
If it's ide wide than try ide/ui.
Comment 20 Ken Frank 2007-08-28 15:31:47 UTC
I filed rfe 114017 on having an option to change
global font name.

ken.frank@sun.com
Comment 21 Ken Frank 2008-01-15 21:31:29 UTC
could this one be done for 6.1 since see user input about it in other places.


ken.frank@sun.com
Comment 22 Vitezslav Stejskal 2008-01-23 10:25:33 UTC
We will see...
Comment 23 Jiri Prox 2008-04-11 00:42:02 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 24 Will Zhang 2008-10-24 03:11:07 UTC
Cc jf4jbug


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo