United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6235633 : JRE 1.4.2_07 lacks support for Japanese on RHEL-4

Details
Type:
Enhancement
Submit Date:
2005-03-03
Status:
Resolved
Updated Date:
2010-05-09
Project Name:
JDK
Resolved Date:
2005-07-26
Component:
client-libs
OS:
linux_redhat_5.1,solaris_2.5.1
Sub-Component:
java.awt:i18n
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.2_06,1.4.2_09
Fixed Versions:
1.4.2_10 (b01)

Related Reports
Backport:

Sub Tasks

Description
Please rename the font.properties.ja.Redhat3 file in order to work on Red Hat Enterprise Linux 4 (RHEL-4) as well as RHEL-3.

Note that copying font.properties.ja.Redhat3 to font.properties.ja.Redhat4 does work as Red Hat 4 also has the Kochi fonts the the font.properties file points to. However, it would be ideal to name these in a more generic manner in which they will support future Red Hat versions (assuming they have the Kochi fonts).
###@###.### 2005-03-03 15:37:40 GMT

                                    

Comments
SUGGESTED FIX

Hi.  This is only applicable for sub-cr of this CR. 
Sub CR: 2126844 for 5.0U5

The similar change as Mustang is backported to 5.0U5; therefore, it supports all the Java supported locales, which is does not exactly fit the synopsis of this CR. 

- rename linux.fontconfig.RedHat.properties to linux.fontconfig.RedHat.9.properties
- linux.fontconfig.RedHat.properties for RH4. 
- Dropped all the native encoding - only supports UTF8: we're supporting the locales.encoding that are accessible through the login window's language selection.
- regenerate mapping tables and their golden files for automated test suites
                                     
2005-08-08
EVALUATION

Note that RHEL-4 is not yet a supported platform on 1.4.2_x.
###@###.### 2005-03-23 20:05:02 GMT

Adding support for both Japanese (ja) and Simplified Chinese (zh_CN).

For Japanese, the AWT portion requires the use of a bitmap font. This is because a font, which was installed in RH3 (kochi jisx0208), is no longer in RH4. In RH4, there exists "kochi iso10646". The problem with using this font is that the Xserver in RH4 has a bug in it which causes it to crash whenever this font is trying to be used. There is nothing wrong with the font. There is probably an issue with the X11/Xlib code. This problem does not exist for the Swing/2D portion. As a result, we force the usage of the TrueType font for Swing/2D. The TrueType font is the same as that of RH3, so there should be no visual differences.

For Chinese, the "zysong" font was used on RH4. The "song ti" font was tried, but the system complained that it cannot find the font even though using some Linux font querying tools stated otherwise.

###@###.### 2005-07-18 18:57:17 GMT
                                     
2005-03-23
WORK AROUND

See above.
###@###.### 2005-03-03 15:37:41 GMT
                                     
2005-03-03



Hardware and Software, Engineered to Work Together