JDK-6930980 : Disable TrueType hinting for fonts known not to hint well
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6u21
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-03-01
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
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 6 JDK 7
6u21Fixed 7 b128Fixed
Description
Not all fonts are designed to be used with hinting. JDK needs to
pay attention to this.

Comments
EVALUATION Need to consider how we can better obey the "GASP" table in a font to disable hinting and use greyscale as the default behaviour, not just when desktop font hints are applied. But I'm not sure we'd ignore an explicit "OFF" hint And presently we ignore the hinting flag in GASP - only look for greyscale - mostly because it affects metrics. For fonts that say always do greyscale - at all sizes - this may be a big clue that hinting isn't a good idea. Needs more consideration to see if we should extend this and risk the metrics change. Also may want to explore adding the ability to explicitly request\ hinting (or not) as an API option, separate from GASP.
01-03-2010