From netcat-return-1403-archive-asf-public=cust-asf.ponee.io@netbeans.apache.org Tue Nov 6 18:58:21 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id F33DB18067A for ; Tue, 6 Nov 2018 18:58:20 +0100 (CET) Received: (qmail 48515 invoked by uid 500); 6 Nov 2018 17:58:20 -0000 Mailing-List: contact netcat-help@netbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list netcat@netbeans.apache.org Received: (qmail 48427 invoked by uid 99); 6 Nov 2018 17:58:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2018 17:58:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C9DDAC0629 for ; Tue, 6 Nov 2018 17:58:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.389 X-Spam-Level: ** X-Spam-Status: No, score=2.389 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id FPL6-UndLHQ9 for ; Tue, 6 Nov 2018 17:58:17 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 42FCF5F514 for ; Tue, 6 Nov 2018 17:58:16 +0000 (UTC) Received: by mail-pl1-f170.google.com with SMTP id p16-v6so6555897plr.8 for ; Tue, 06 Nov 2018 09:58:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=ozro4aBdUDwdALE2F89TYxjBX0g5siCzAzCDxL/1rw4=; b=nt58V4Ny7HSKhOBm/6ZKoj5NACw4JV2fociZd6Bu4REcmFMbtH4BVWarS+9xgiN87S iWgA4pEz5zBgtkXNTdu0jFH4liwJInT1QQJOtPK19cjv/q1vof4Gn70yiiwlMp731PVU q38gozeSZfZ0GdKVHD0ZqSbxWNFuWxG0Ffea6H4VoQ72kb0LaYIKC88Iji4jAJh2bL/g cIHyG2696sBGuBnz3nGdARXfXJMzFEsHlVSZ20nNlIqN104D9fZ5P8JsGkFBTWW/8hb1 /Q/0mxXexxvNqLoopXZpiOyxNhdQPyELjXbV2pgh0/Ypfd/sl77c4VqM92ctx8pXvKcS 7rCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=ozro4aBdUDwdALE2F89TYxjBX0g5siCzAzCDxL/1rw4=; b=s0UJ5xq1PqTzqUBDiCoSc+NszgXrp0v3LKTpAJTxVpEfZTNXXpzyizs67G90Z6k+ss LErUMMw/me/TYBH5Cpg3XhQ4VaYmxbjgdezgGtxA3vk6x3HqOKanGj8DQGlNgQk4uxqT W3BGcusoI9j/L0Fh8UEg5g5TSMvT/zjq/u68id4Pya8UWrg/xphlVMGwby37xhGFmW5C p0O2PngU7qkC6SUcMgdiqX/zx9PUM0RJlvPesz4/4ki138hUYGEmC331Mh5u/WYA8YFJ NOXWxTqIlJWsTFGxw7agm5X4B/TQjCq9Es2mXhuUjSz27qYh8+t58CNSS4EG83gDYDQR rrOg== X-Gm-Message-State: AGRZ1gKq1+aEYJr78S0RKwrgqjuYyJIriGJOMlKmWriDo6V/fZryBWEZ t7+fFGUECACohDfpPN7MDmiugWKW X-Google-Smtp-Source: AJdET5ceV2Tqgzg0S6xoNnOeQ1opLnC6XF2HvNDU0Gq9ftkJrpN82C4JDpTxwz2Rq6YGMMLyjOA9/g== X-Received: by 2002:a17:902:6a8b:: with SMTP id n11-v6mr6648289plk.311.1541527088773; Tue, 06 Nov 2018 09:58:08 -0800 (PST) Received: from [10.6.72.254] ([12.245.190.202]) by smtp.gmail.com with ESMTPSA id i6-v6sm52145247pfb.135.2018.11.06.09.58.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:58:08 -0800 (PST) Subject: Re: GTK UI and JDK 11 To: Aldo Brucale Cc: neilcsmith@apache.org, netcat@netbeans.apache.org References: <35534a50-286e-c41a-9afb-2eb8e5bc6b95@gmail.com> <28fd4b6a-ee37-878e-865d-5978cf63856f@gmail.com> <5ec3cc05-4fea-c86d-0710-9b5f2364ceae@gmail.com> <14bc632a-9d6f-68c2-8276-6f46b9ad9e4c@gmail.com> <4bbe9bf0-d306-b531-a5d2-483f2fe15b64@gmail.com> From: Laszlo Kishalmi Message-ID: Date: Tue, 6 Nov 2018 09:58:07 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------CA1CFD40D0D424A848818596" Content-Language: en-US --------------CA1CFD40D0D424A848818596 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 >  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 > wrote: > > I've added a few screenshots to NETBEANS-1344 > > > On Thu, 18 Oct 2018 at 18:07, Laszlo Kishalmi > > 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 >> > wrote: >> >> On Wed, 17 Oct 2018 at 06:51, Laszlo Kishalmi >> > > 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: >> netcat-unsubscribe@netbeans.apache.org >> >> For additional commands, e-mail: >> netcat-help@netbeans.apache.org >> >> >> For further information about the NetBeans mailing lists, >> visit: >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> > --------------CA1CFD40D0D424A848818596--