JDK-8245917 : Color fringes in JavaFX fonts on macOS
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: openjfx14
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2020-05-21
  • Updated: 2020-05-27
  • Resolved: 2020-05-27
Related Reports
Duplicate :  
Description
ADDITIONAL SYSTEM INFORMATION :
MacOS X Catalina (10.15.3). 

openjdk version "14" 2020-03-17
OpenJDK Runtime Environment (build 14+36-1461)
OpenJDK 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

A DESCRIPTION OF THE PROBLEM :
Text rendered on MacOS shows color fringe / sub-pixel colors. When zooming in on black text rendered by JavaFX one can see that there are red, green, blue sub-pixels showing up next to the black pixels. The effect can be seen here: https://github.com/javafxports/openjdk-jfx/issues/229#issuecomment-631797333


REGRESSION : Last worked in version 14.0.1

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Any control shown by a JavaFX app running on MacOS will reproduce this issue. This link shows the experience: https://github.com/javafxports/openjdk-jfx/issues/229#issuecomment-631797333


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Only black and grey pixels should be visible (because of anti aliasing).
ACTUAL -
Plenty of red, green, and blue pixels appear to the left and right of the black pixels.

CUSTOMER SUBMITTED WORKAROUND :
None.

FREQUENCY : always