From owner-freebsd-java@freebsd.org Wed Dec 28 18:26:12 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECC79C941D1 for ; Wed, 28 Dec 2016 18:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D74581744 for ; Wed, 28 Dec 2016 18:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D3B46C941D0; Wed, 28 Dec 2016 18:26:12 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3619C941CF for ; Wed, 28 Dec 2016 18:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A9E641743 for ; Wed, 28 Dec 2016 18:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uBSIQCbS001092 for ; Wed, 28 Dec 2016 18:26:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 215636] java/openjdk8: Add fontconfig support Date: Wed, 28 Dec 2016 18:26:12 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2016 18:26:13 -0000 Dmitri Goutnik has reassigned Bugzilla Automation 's request for maintainer-feedback to java@FreeBSD.or= g: Bug 215636: java/openjdk8: Add fontconfig support https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215636 --- Description --- Created attachment 178350 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178350&action= =3Dedit patch file Attached patch adds optional (unchecked by default) support for fontconfig = in OpenJDK FreeType scaler. This allows scaler to obtain per-family FreeType rendering and loading flags from fontconfig instead of relying on OpenJDK heuristics, which noticeably improves font rendering in Java appications. Patch code is based on original OpenJDK Infinality patches from [1] (now go= ne) and Fedora 21 [2]. Also attached are rendering examples with and w/o fontconfig patch: Gogland-GoMono14-no-patch.png: JetBrains Gogland, Go Mono 14pt, no fontconf= ig patch Gogland-GoMono14-with-patch.png: JetBrains Gogland, Go Mono 14pt, with fontconfig patch PyCharm-DejaVuSansMono14-no-patch.png: JetBrains PyCharm, DejaVu Sans Mono 14pt, no patch PyCharm-DejaVuSansMono14-with-patch.png: JetBrains PyCharm, DejaVu Sans Mono 14pt, with fontconfig patch, "slight" hinting PyCharm-LiberationMono14-no-patch.png: JetBrains PyCharm, Liberation Mono 1= 4pt, no patch PyCharm-LiberationMono14-with-patch.png: JetBrains PyCharm, Liberation Mono 14pt, with fontconfig patch, "slight" hinting PyCharm-UbuntuMono14-no-patch.png: JetBrains PyCharm, Ubuntu Mono 14pt, no patch PyCharm-UbuntuMono14-with-patch.png: JetBrains PyCharm, Ubuntu Mono 14pt, w= ith fontconfig patch, "slight" hinting poudriere testport: OK on 11.0-RELEASE-p6 amd64/i386 -- [1] http://www.infinality.net/forum/viewtopic.php?f=3D2&t=3D80#p395 [2] https://github.com/smerrill/fedora-21-openjdk8-infinality/blob/master/SOURC= ES/0 05_enable-infinality.patch