Bug 647157

Summary: Japanese, Chinese, Korean and possibly other fonts don't work by default in Java on RHEL6
Product: Red Hat Enterprise Linux 6 Reporter: Ivan Stojmirov <istojmir>
Component: java-1.6.0-sunAssignee: jiri vanek <jvanek>
Status: CLOSED WONTFIX QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-02 11:52:20 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 609355    

Description Ivan Stojmirov 2010-10-27 08:37:08 EDT
Description of problem:
Japanese, Chinese, Korean and possibly other fonts are not displayed properly inside Java applications on RHEL6.

The fontconfig files under /usr/lib/jvm/java-1.6.0-sun/jre/lib/ are not updated in order to reflect the current font situation in RHEL6.

It seems that the fontconfig files have been inherited from RHEL5 without modification and rely on packages such as fonts-japanese, fonts-chinese etc. which are no longer included in RHEL6. 
Instead, RHEL6 now provides fonts such as vlgothic, wqy-zenhei-fonts and so on.

The java package needs to be fixed in order to provide support for such fonts.


Version-Release number of selected component (if applicable):
java-1.6.0-sun-1.6.0.21-1jpp.4.el6.x86_64


How reproducible:
Open a java applet which contains Japanese characters.
For example: http://www.asahi-net.or.jp/~ik2r-myr/kanji/kanji1pa.htm


Steps to Reproduce:
1. Confirm that the vlgothic-fonts is installed. 
2. Open Firefox and go to http://www.asahi-net.or.jp/~ik2r-myr/kanji/kanji1pa.htm
3. Observe the Japanese characters inside the applet
  

Actual results:
Japanese characters are shown as rectangles.


Expected results:
They should be displayed as normal.


Additional info:
Comment 2 jiri vanek 2010-11-02 11:52:20 EDT
Oracle is not supporting those fonts. To solve it, we can just recommend to swap to openjdk where is in our powers to fix it.
aph
http://download.oracle.com/javase/6/docs/technotes/guides/intl/font.html