-
Bug
-
Resolution: Fixed
-
P2
-
6u25, 6-pool
-
b08
-
generic, x86
-
linux, linux_redhat_6.1
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2213484 | 8 | David Buck | P2 | Closed | Fixed | b06 |
JDK-2213485 | 7u2 | David Buck | P2 | Closed | Fixed | b08 |
JDK-2212599 | 5.0u33 | David Buck | P2 | Closed | Fixed | b08 |
with RHEL 5, Red Hat switched their version scheme from a single number (i.e. RHEL 4) to a <major>.<minor> (i.e. RHEL 5.6). This causes problems because FontConfiguration will expect a different fontconfig file for each update of RHEL.
The solution is to first search for a fontconfig file based on the <major>.<minor> version number and if we don't find that, fall back to a file based on just the major file number. That way we can have a “default” fontconfig for the major release, and add an update specific file if there is a need to override the behavior.
For example, on a Solaris 10 machine (Sun OS 5.10) , it currently would look for the following files in order :
fontconfig.5.10.properties
fontconfig.5.10.bfc
fontconfig.properties
fontconfig.bfc
We want it to also look for a fontconfig file with a name based off of the major version alone:
fontconfig.5.10.properties
fontconfig.5.10.bfc
fontconfig.5.properties
fontconfig.5.bfc
fontconfig.properties
fontconfig.bfc
The solution is to first search for a fontconfig file based on the <major>.<minor> version number and if we don't find that, fall back to a file based on just the major file number. That way we can have a “default” fontconfig for the major release, and add an update specific file if there is a need to override the behavior.
For example, on a Solaris 10 machine (Sun OS 5.10) , it currently would look for the following files in order :
fontconfig.5.10.properties
fontconfig.5.10.bfc
fontconfig.properties
fontconfig.bfc
We want it to also look for a fontconfig file with a name based off of the major version alone:
fontconfig.5.10.properties
fontconfig.5.10.bfc
fontconfig.5.properties
fontconfig.5.bfc
fontconfig.properties
fontconfig.bfc
- backported by
-
JDK-2212599 Fall back to fontconfig file based on only OS major version number on Linux
-
- Closed
-
-
JDK-2213484 Fall back to fontconfig file based on only OS major version number on Linux
-
- Closed
-
-
JDK-2213485 Fall back to fontconfig file based on only OS major version number on Linux
-
- Closed
-
- duplicates
-
JDK-7082644 fontconfig update for RHEL 6.1/OEL6.1
-
- Closed
-