Well, according to the release notes the default setting on Windows should be "gasp" and on Linux should be "on", If you switch it to "gasp" on Linux then the anti-aliasing is gone.

On linux the rendering is also affected by the desktop font hinting policy, which (I do not know why) at least on Ubuntu is set to "Slight" If you set it to "Moderate" or "Full" the whole Linux UI got a better look including NetBeans fonts.

(Of course you need to use fonts which provides hints.)

On 11/6/18 9:20 AM, Aldo Brucale wrote:
I've found this answer on stackoverflow <https://stackoverflow.com/a/26882303/57441> suggesting to set -Dawt.useSystemAAFontSettings=gasp. This setting seems to completely disable font anti-aliasing for all the UI elements, but to me it looks better than the other options. The anti-aliasing of the editor and output window fonts still doesn't look as good as it used to, but it's definitely usable.

On Mon, 22 Oct 2018 at 12:15, Aldo Brucale <[email protected] <mailto:[email protected]>> wrote:

    I've added a few screenshots to NETBEANS-1344
    
<https://issues.apache.org/jira/browse/NETBEANS-1344?focusedCommentId=16658817&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16658817>

    On Thu, 18 Oct 2018 at 18:07, Laszlo Kishalmi
    <[email protected] <mailto:[email protected]>> wrote:

        Could you attach screenshots to
        https://issues.apache.org/jira/browse/NETBEANS-1344 showing
        the difference between using Java 8, Java 10 and (Java 11 +
        -J-Djdk.gtk.version=2.2 and -J-Dawt.useSystemAAFontSettings=on)

        I've just tested with Ubuntu 18.10 on Gnome 3 desktop.
        NetBeans is kind of ugly even with the recommended settings.
        Using Unity Desktop it looks as gorgeous as before. In order
        to look consistently good, you need to use something else than
        GTK LAF. Darcula works well.


        On 10/18/2018 04:00 AM, Aldo Brucale wrote:
        On Ubuntu 18.04 I've tried to set both
        -J-Djdk.gtk.version=2.2 and
        -J-Dawt.useSystemAAFontSettings=on: Netbeans surely looks
        better, but still not enough for my daily work. Except for
        the tests, I'll stick with Java 8 or 10 for now.

        On Wed, 17 Oct 2018 at 11:00, Neil C Smith
        <[email protected] <mailto:[email protected]>> wrote:

            On Wed, 17 Oct 2018 at 06:51, Laszlo Kishalmi
            <[email protected]
            <mailto:[email protected]>> wrote:
            > Blame JDK and Gnome.

            I realise there are some open JDK bugs, but are we sure
            how much is
            JDK?  There's a lot of stuff going on in o.n.swing.plaf -
            just
            wondering if there's stuff going on in GtkLFCustoms
            that's making
            assumptions that no longer apply with GTK3?

            
https://github.com/apache/incubator-netbeans/tree/master/platform/o.n.swing.plaf/src/org/netbeans/swing/plaf/gtk

            Best wishes,

            Neil

            
---------------------------------------------------------------------
            To unsubscribe, e-mail:
            [email protected]
            <mailto:[email protected]>
            For additional commands, e-mail:
            [email protected]
            <mailto:[email protected]>

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


Reply via email to