maintainer-feedback requested: [Bug 215636] java/openjdk8: Add fontconfig support
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 28 18:26:13 UTC 2016
Dmitri Goutnik <dg at syrec.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to java at FreeBSD.org:
Bug 215636: java/openjdk8: Add fontconfig support
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215636
--- Description ---
Created attachment 178350
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178350&action=edit
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 gone)
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 fontconfig
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 14pt,
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, with
fontconfig patch, "slight" hinting
poudriere testport: OK on 11.0-RELEASE-p6 amd64/i386
--
[1] http://www.infinality.net/forum/viewtopic.php?f=2&t=80#p395
[2]
https://github.com/smerrill/fedora-21-openjdk8-infinality/blob/master/SOURCES/0
05_enable-infinality.patch
More information about the freebsd-java
mailing list