United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7050826 Hebrew characters are not rendered on OEL 5.6
JDK-7050826 : Hebrew characters are not rendered on OEL 5.6

Details
Type:
Bug
Submit Date:
2011-06-02
Status:
Closed
Updated Date:
2013-06-11
Project Name:
JDK
Resolved Date:
2011-10-17
Component:
client-libs
OS:
linux_oracle_5.6
Sub-Component:
2d
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Relates:

Sub Tasks

Description
Hebrew characters are not rendered on OEL 5.6. To reproduce the symptom, run the Font2DTest demo and select the Hebrew range.

The Java runtime generates synthesized font properties files because there's no font confing file provided for OEL 5.6. The generated font properties files don't contain any fonts for Hebrew.

This problem was found when looking into 7042148.

                                    

Comments
EVALUATION

The synthesised font properties files skip Type 1 fonts which are not
optimum for desktop rendering. This really an extension of skipping
bitmap fonts. For some reason all the Hebrew fonts
on RHEL/OEL 5.6 are Type 1. And its just Hebrew. The only Type 1
fonts shown up in a call to "fc-match -s sans" on OEL 6 that
are of any interest are these Hebrew fonts.
There are two options
1) Stop skipping Type 1 fonts. Seems attractive except that Type 1 fonts
are not optimum for screen rendering and on some distros I've seen
these pop up as the default Latin font. Arguably a distro bug as when
there are TrueType fonts they should always be preferred.
2) Append the JRE's Lucida fonts. Perhaps even just add Lucida Sans
as the fall back for all the logical fonts as we do in the custom
fontconfig case. Although this doesn't help openjdk.
                                     
2011-06-02
EVALUATION

Went with option 1. If the distros use Type1 fonts so will we.
                                     
2011-09-06
PUBLIC COMMENTS

Verifying this fix needs to be done on a RHEL/OEL 5.6 system with
appropriate Hebrew Type 1 fonts as shown via "fc-match -s sans"
                                     
2011-09-06



Hardware and Software, Engineered to Work Together