JDK-7083621 : Add fontconfig file for OEL6 and rename RH/O EL 5 file so that it is picked up for all 5.x updates
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7-pool
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-08-26
  • Updated: 2014-10-10
  • Resolved: 2012-01-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u4Fixed 8 b23Fixed
Description
Java 7 and 8 currently do not have a fontconfig file for OEL6. For RHEL/OEL 5, they only have a fonconfig file for 5.5. The JRE can fall back on the new libfontconfig to display fonts, but there are other complications (the ���filled shapes��� issue that results in very large print jobs) that result from missing fontconfig files.

Fontconfig files that are valid for all updates of RHEL/OEL5 and OEL6 should be included in JDK7/8

Comments
failover to libfontconfig makes it hard to distinguish when these hard coded font information is incorrect/missing. So a regression test is unreasonably difficult to implement.
20-09-2013

sorry, it seems assignee was changed accidentally
31-05-2013

EVALUATION Fix is to copy the RHEL6 fontconfig file from JDK6 to JDK8/JDK7 and rename RHEL5.5 file so it is picked up for all 5.x releases or RHEL/OEL (fix 7074386 (bugster), already in JDK7 and JDK8, lets us fall back to a file name based on only the major version of the OS if we can't find a minor-specific version). This fix is "valid" only if RHEL does not change the font configurations in any "dot" release. For example, if 5.8 required a new font configuration, the JRE will still default to the 5 file until we added a 5.8-specific file (and a 5.9 file, etc).
16-01-2012