You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Glenn Holmer <ce...@kolabnow.com.INVALID> on 2019/02/13 16:48:00 UTC

useSystemAAFontSettings

What's the reasoning behind not having this on by default in
etc/netbeans.conf? Does it work well on some OS and not on others? In
Linux (Debian testing/KDE Plasma), NetBeans looks just awful without it.

-J-Dawt.useSystemAAFontSettings=on

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: useSystemAAFontSettings

Posted by John Neffenger <jo...@status6.com>.
On 2/13/19 8:48 AM, Glenn Holmer wrote:
> What's the reasoning behind not having this on by default in
> etc/netbeans.conf? Does it work well on some OS and not on others? In
> Linux (Debian testing/KDE Plasma), NetBeans looks just awful without it.

The bug below has done a lot of damage to NetBeans' reputation on 
Debian-based systems like Ubuntu. Scroll down to the Font Demo 
screenshots to see what the fonts look like "Before" and "After" the fix 
in JDK 12.

JDK-8212071: Need to set the FreeType LCD filter to reduce fringing
https://github.com/jgneff/openjdk-freetype

This bug existed in the source code for 11 years, dating back to 
December 2007, and during that time has made NetBeans look "just awful," 
I agree, on the most popular Linux distributions. The NetBeans 10 "snap" 
package on Ubuntu works around the bug by reverting to grayscale 
anti-aliasing, yet this setting ends up overriding the fix in JDK 12 and 
disabling a decade of font rendering improvements in FreeType.

I chatted with Laszlo Kishalmi about the problem, and we came up with a 
more direct solution: getting the fix back-ported to JDK 11. If you are 
affected by the severe font color fringes in NetBeans on Ubuntu or any 
Debian-based system, you can help by saying so on the page below. Just 
click the link, "Does this bug affect you?" and select "Yes, it affects me."

Backport JDK-8212071 font fix to OpenJDK 11
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1815119

It's a tragedy that a two-line bug has put such an eyesore for so long 
on an otherwise beautiful piece of software. JetBrains solved this 
problem years ago in IntelliJ IDEA by bundling a patched JDK. Can't 
NetBeans do the same?

Thank you,
John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: useSystemAAFontSettings

Posted by Laszlo Kishalmi <la...@gmail.com>.
Probably we can do that. A few response from Windows and Mac users 
trying out that setting won't hurt.

As far as I remember the defaults for Win and Linux were different, and 
if you set it just on then it would hurt windows font rendering.

I would also recommend to use OpenJDK 12 build 30+ without this flag.

See: 
https://cwiki.apache.org/confluence/display/NETBEANS/Font+Rendering+Issues

On 2/13/19 8:48 AM, Glenn Holmer wrote:
> What's the reasoning behind not having this on by default in
> etc/netbeans.conf? Does it work well on some OS and not on others? In
> Linux (Debian testing/KDE Plasma), NetBeans looks just awful without it.
>
> -J-Dawt.useSystemAAFontSettings=on
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists