Description
Dmitri Goutnik
2016-12-28 18:26:12 UTC
Created attachment 178351 [details]
Gogland-GoMono14-no-patch.png
Created attachment 178352 [details]
Gogland-GoMono14-with-patch.png
Created attachment 178353 [details]
PyCharm-DejaVuSansMono14-no-patch.png
Created attachment 178354 [details]
PyCharm-DejaVuSansMono14-with-patch.png
Created attachment 178355 [details]
PyCharm-LiberationMono14-no-patch.png
Created attachment 178356 [details]
PyCharm-LiberationMono14-with-patch.png
Created attachment 178357 [details]
PyCharm-UbuntuMono14-no-patch.png
Created attachment 178358 [details]
PyCharm-UbuntuMono14-with-patch.png
Created attachment 178637 [details]
updated patch file
Updated PORTREVISION.
Created attachment 179154 [details]
openjdk8-8.112.16_4.patch
- avoid double-patching of freetypeScaler.c by using separate patch files for FONTCONFIG ON/OFF configurations
- updated PORTREVISION
Created attachment 179959 [details]
openjdk8-8.121.13_1.patch
- updated for openjdk8-8.121.13
Created attachment 188141 [details] patch file * Update for openjdk8-8.152.16 Differential: https://reviews.freebsd.org/D13169 QA: poudriere testport OK (11a, 10i) Created attachment 189163 [details]
patch file
* Update for openjdk8-8.152.16_2
QA: poudriere testport OK (11a, 10i)
Thanks for keeping this patch up to date! Finally I am able to use my Jetbrain IDE without getting an head ache from the bad font rendering. I like the idea of this overall, although I don't like that it means maintaining yet more patches that need to be merged for most updates (or so it seems). I'll at least do some test builds and some diff comparisons. (In reply to Greg Lewis from comment #15) I wonder if this patch will be needed in the upcoming openJDK9 and 10 versions (In reply to Greg Lewis from comment #15) Thanks for looking into this. I don't think I had to change freetypeScaler patches between OpenJDK versions, most changes were to the Makefile patch. In any case, I'm willing to maintain/support this further if needed. A commit references this bug: Author: glewis Date: Sun Mar 4 00:56:32 UTC 2018 New revision: 463545 URL: https://svnweb.freebsd.org/changeset/ports/463545 Log: . Add a FONTCONFIG option which allows scaler to obtain per-family FreeType rendering and loading and may noticeably improves font rendering in Java appications PR: 215636 Submitted by: Dmitri Goutnik <dg@syrec.org> Changes: head/java/openjdk8/Makefile head/java/openjdk8/files/fontconfig.patch I've committed a version of this. I shrunk the Makefile patch and combined the different file patches into one while factoring out the existing freetypeScaler.c changes. Let me know if it works ok. Looks good to me after brief testing FONTCONFIG on/off with CLion and GoLand. Thanks, I'll go ahead and resolve this then. Thanks for merging! |