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.
Summary: | I18N-Change the default font of output and editor windows for Chinese release to DialogInput/12 | ||
---|---|---|---|
Product: | editor | Reporter: | rehte <rehte> |
Component: | -- Other -- | Assignee: | Milutin Kristofic <mkristofic> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | jf4jbug, jrojcek, kfrank, sdoubrava |
Priority: | P3 | Keywords: | I18N |
Version: | 5.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
descriptions and reasoning
netbeans 5.5.1 using monospaced/12 font in Chinese netbeans 5.5.1 using monospaced 13 in Chinese netbeans 5.5.1 using DialogInput 13 in Chinese netbeans 5.5.1 using DialogInput 12 in Chinese NetBeans 6.0 using DialogInput 12 in Chinese(Currently using english in Chinese locale) netbeans 5.5.1 with monospaced 12 in Chinese netbeans 5.5.1 using monospaced 13 on Chinese Solaris netbeans 5.5.1 using dialoginput 12 on Chinese Solaris netbeans 5.5.1 using dialoginput 13 on Chinese Solaris |
Description
rehte
2007-08-24 03:58:30 UTC
Created attachment 47242 [details]
descriptions and reasoning
Created attachment 47245 [details]
netbeans 5.5.1 using monospaced/12 font in Chinese
Created attachment 47246 [details]
netbeans 5.5.1 using monospaced 13 in Chinese
Created attachment 47247 [details]
netbeans 5.5.1 using DialogInput 13 in Chinese
Created attachment 47248 [details]
netbeans 5.5.1 using DialogInput 12 in Chinese
Created attachment 47249 [details]
NetBeans 6.0 using DialogInput 12 in Chinese(Currently using english in Chinese locale)
Sorry, my descriptions of the attachment do not match the contents. Please look at the attachments where there are descriptions about them. Any comments from the UI gurus? Is DialogInput always available on all platforms, OSes, etc? Thanks. 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 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. 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. 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." 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. Created attachment 47429 [details]
netbeans 5.5.1 with monospaced 12 in Chinese
Created attachment 47430 [details]
netbeans 5.5.1 using monospaced 13 on Chinese Solaris
Created attachment 47431 [details]
netbeans 5.5.1 using dialoginput 12 on Chinese Solaris
Created attachment 47432 [details]
netbeans 5.5.1 using dialoginput 13 on Chinese Solaris
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 If it's ide wide than try ide/ui. I filed rfe 114017 on having an option to change global font name. ken.frank@sun.com could this one be done for 6.1 since see user input about it in other places. ken.frank@sun.com We will see... moving opened issues from TM <= 6.1 to TM=Dev Cc jf4jbug This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |