Bug 647157 - Japanese, Chinese, Korean and possibly other fonts don't work by default in Java on RHEL6
Japanese, Chinese, Korean and possibly other fonts don't work by default in J...
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: java-1.6.0-sun (Show other bugs)
All Unspecified
low Severity medium
: rc
: ---
Assigned To: jiri vanek
BaseOS QE - Apps
Depends On:
Blocks: 609355
  Show dependency treegraph
Reported: 2010-10-27 08:37 EDT by Ivan Stojmirov
Modified: 2010-11-02 16:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-02 11:52:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
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):

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.

Note You need to log in before you can comment on or make changes to this bug.