JDK-8118910 : Fonts are rendered inappropriately when using Prism j2d pipe
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 7u6
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2012-05-19
  • Updated: 2015-06-17
  • Resolved: 2012-05-20
Related Reports
Duplicate :  
Description
While testing stuff related to a couple of other reported bugs, I tried to run my sample app with "-Dprism.order=j2d" option and noticed that this results in inappropriate fonts rendering (especially custom externally loaded ones - see attached "Ubuntu Regular" TTF, for example) - they seem to always be rendered in bold (or, maybe, that's the issue with inappropriate font sizing - not sure).

This is reproducable under Java 7 / JavaFX 2.2 b08 / Linux (see "Environment" for more details).
Comments
One image shows LCD text. The other (j2d pipeline image) shows unhinted greyscale. This is therefore a duplicate of RT-18902: LCD subpixel text doesn't work on Java 2D [fallback] pipeline due to alpha in surface format
20-05-2012