JDK-6378099 : RFE: Use libfontconfig to create/synthesise a fontconfig.properties
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,solaris_2.5.1
  • CPU: generic,x86
  • Submitted: 2006-01-27
  • Updated: 2020-04-07
  • Resolved: 2011-05-18
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 Other
7 b33Fixed OpenJDK6Resolved
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
JDK's logical fonts are statically specified in fontconfig.properties files.
This works well on stable platforms (Solaris and Windows).
On Linux variants there is no assurance of the presence of particular fonts
to support particular locales (CJK for example).
For many "supported" variants we have provided carefully tuned fontconfig.properties
files, but on other variants we may default to just the basic support provided
by the JDK's fonts.
It should be possible to greatly improve matters on such platforms by using
libfontconfig to identify suitable fonts. The details of whether this information
is installed ito the JRE, or a per-user location, or always generated at run time
is TBD.

Comments
EVALUATION This has been implemented for JDK 7. On "unrecognised" Linux platforms, and also on OpenSolaris, JDK will use libfontconfig to select fonts to use for the logical fonts. It does not exactly synthesise a fontconfig.properties file, but the result is the same. There will no longer be a need to create to manually create and distribute these files to support new linux versions.
12-06-2008