Not a solution to the problem (the color fringes on Mac apparently are using almost fully saturated subpixels which seems like a serious issue), but I see color fringes on most screens so I always just turn this type of rendering off. It obviously depends on the pixel density though as higher resolution 4k+ screens make the colored fringes less obvious.

Have you tried to simply turn subpixel rendering off as a temporary solution?

    System.setProperty("prism.lcdtext", "false")

--John


On 25/02/2021 15:18, Rob Nikander wrote:
Hi,

Last year, I wanted to use JavaFX for a project, but did not because the font rendering on 
macOS looked bad compared to native apps. I was following this bug: 
https://bugs.openjdk.java.net/browse/JDK-8236689 
<https://bugs.openjdk.java.net/browse/JDK-8236689> .  It was created over a year ago 
and recently its “Fix version" was pushed back from 16 to 17.

The way that bug is titled (“non-retina”) makes me wonder: do people realize 
that this is effecting even retina screens on macOS? I have a 2020 MacBook Pro 
and the JavaFX fonts have color fringes.

I’d like to write a cross platform desktop app, but I need the text rendering 
to be as good as native. Maybe time to give up and write some Swift code, or a 
web app (ugh).

Rob

Reply via email to