javanetbeansidenetbeans-11font-rendering

Netbeans source code font not being well rendered


I'm having an issue using Netbeans under Linux, I'm using Arch Linux with KDE and JRE 8 and, as you can see from the screenshot, the GUI fonts are ok, but the source code font rendering is very ugly. I'm using java options for AA, but it only solved the GUI issue, not the source code font rendering issue. I have PHPStorm installed too, to compare, I made a screenshot using the same font and settings in both. PHPStorm fonts are rendered beautifully, Netbeans doesn't, what's the problem?

enter image description here


Solution

  • As I could check, forcing PHPStorm to use the Oracle JDK, what makes font rendering different between Netbeans and PHPStorm is the JRE being used. When I forced PHPStorm to use the Oracle JDK it rendered fonts exactly the same way Netbeans renders. So JetBrains, with it's own JRE, were managed to make a JRE that renders fonts better than OpenJDK or OracleJDK.

    enter image description here