[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215636

            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 at FreeBSD.org
          Reporter: dg at syrec.org
             Flags: maintainer-feedback?(java at FreeBSD.org)
          Assignee: java at FreeBSD.org

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/005_enable-infinality.patch

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list