Red Hat Bugzilla – Bug 647157
Japanese, Chinese, Korean and possibly other fonts don't work by default in Java on RHEL6
Last modified: 2010-11-02 16:52:17 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):
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
Japanese characters are shown as rectangles.
They should be displayed as normal.
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.