JDK-8116337 : LCD Text, misses pixels outside logical bounds
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.1
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2011-11-01
  • Updated: 2015-06-17
  • Resolved: 2011-12-02
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.
Other
fx2.1Fixed
Related Reports
Blocks :  
Relates :  
Description
Logical bounds are incorrectly being used to sample background color and mix with LCD text. This becomes evident when a glyphs exceed logical bounds, such as the italic 'f' (see attached picture).  The part of the glyph that is outside the bounds will have a solid black outline.
Comments
Verified as fixed in 2.1 promoted build b04. Easy to reproduce problem in older builds. Create text node, set font to Italic Times New Roman and setText 'f' note black outline on edges (see screenshot).
27-03-2012

Changes pushed as of: changeset: 15042:8004f92ec990 2.1-graphics-scrum build #151 Dec 2, 2011
02-12-2011

The part of the text which exceeds the bounds will have a heavy black outline. To reproduce turn on LCD text via -Dprism.lcdtext=true Text text = new Text(���f���); text.setFont(Font.font("Times New Roman", FontWeight.NORMAL, FontPosture.ITALIC, 30.0)); // Ensure LCD font that exceeds logical bounds text.setFill(Color.BLUE); // For better contrast //TODO add to scene
02-12-2011