Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2016 18:26:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 215636] java/openjdk8: Add fontconfig support
Message-ID:  <bug-215636-8522-sGlxFvqPYP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215636-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215636-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitri Goutnik <dg@syrec.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215636-8522-sGlxFvqPYP>