Bug 467558
Summary: | Netbeans cannot display Chinese character | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Qiao <29551030> | ||||
Component: | netbeans | Assignee: | Victor G. Vasilyev <victor.vasilyev> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | sangu.fedora, victor.vasilyev | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-10-23 16:59:57 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 438944, 465130 | ||||||
Attachments: |
|
Adding to F10Target... it is a "new feature" It must be java open jdk problem, if I use Sun's jdk with --jdk-home switch, Chinese display correctly. And I think file /etc/java/font.properties maybe missing Chinese fonts config. Qiao, I agree with you - It is not an issue of the NetBeans. Because, both the NetBeans itself and the GUI Form examples use Swing components that are completely responsible for displaying glyphs. If some glyphs can't be displayed then it means either the Java platform hasn't correct info about an installed system font or the font itself has a bug. I've tried to reproduce the described bug, but I needed have an input method and I've followed the instructions described here: http://fedoraproject.org/wiki/Docs/Beats/I18n#Language_Support_Installation After installation of the Chinese Language Support via the command $ su -c 'yum groupinstall chinese-support' I can input and see hieroglyphs in the editable Swing components in both editor window of the NetBeans and the GUI Form examples application. I think, such test is enough to be sure that the issue in the underlying components (i.e OpenJDK, the cjkunifonts-uming font, or Fedora configuration), but not in the NetBeans or its examples. Also, please note, the examples are only simplest Java Swing applications not more and their functionality doesn't have any impact on I18N features provided by underlaid Java and Fedora platforms. John, I suggest to reassign this bug sequentially to responsible persons for the underlying components (and begin this with OpenJDK) to find both a source of the bug and a way to fix it. this problem have resolved, please see https://bugzilla.redhat.com/show_bug.cgi?id=468193 *** This bug has been marked as a duplicate of bug 468193 *** |
Created attachment 320750 [details] Netbeans example GUI form cannot display Chinese Description of problem: Netbeans and Gui application create by Netbeans cannot display Chinese character. Version-Release number of selected component (if applicable): 6.1-8.fc10 How reproducible: Steps to Reproduce: 1.Install Chinese fonts(install fonts command: yum install cjkunifonts-uming), ensure system can display Chinese character. 2.Open Netbeans, open any source file in Netbeans, input or paste some Chinese character. Actual results: Chinese character display as a box or display blank. Expected results: Additional info: