From owner-freebsd-java@freebsd.org Wed Dec 28 18:26:13 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 7600BC941DC for ; Wed, 28 Dec 2016 18:26:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5F9641749 for ; Wed, 28 Dec 2016 18:26:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5EB15C941DA; Wed, 28 Dec 2016 18:26:13 +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 5E1E1C941D9 for ; Wed, 28 Dec 2016 18:26:13 +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 341411748 for ; Wed, 28 Dec 2016 18:26:13 +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 uBSIQCbY001092 for ; Wed, 28 Dec 2016 18:26:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 215636] java/openjdk8: Add fontconfig support Date: Wed, 28 Dec 2016 18:26:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: dg@syrec.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215636 Bug ID: 215636 Summary: java/openjdk8: Add fontconfig support Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: dg@syrec.org Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org 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/005_enable-infinality.patch --=20 You are receiving this mail because: You are the assignee for the bug.=