Created attachment 215521 [details]
Attached patch is a port of bug #215636 to OpenJDK11. This brings font rendering in Java apps on par with OpenJDK8 with FONTCONFIG knob ON and linux.
poudriere builds OK on 121a, 113i; "works for me" with various JetBrains IDEs on 12.1-STABLE amd64.
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/160797165
Looks ok to commit to me. Have you tried it on the newer ports?
(In reply to Greg Lewis from comment #2)
Builds and works fine for me with java/openjdk11 11.0.7+10.2
By newer ports, I meant have you tried it with openjdk12, 13 and 14?
Anyway, feel free to commit this.
A commit references this bug:
Date: Thu Jul 2 23:31:39 UTC 2020
New revision: 541062
java/openjdk11: Add fontconfig support
Approved by: java (glewis)
Thanks for the approval, committed. I'll look into porting this to non-EOL JDK (java/openjdk14) over the weekend.