[Bug 1799014] Re: bold font rendeing in Java is broken in Cosmic with OpenJDK 11
Matthias Bläsing
mblaesing at doppel-helix.eu
Wed Jan 2 20:53:45 UTC 2019
I still see font distortions on ubuntu cosmic:
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment (build 11.0.1+13-Ubuntu-2ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.1+13-Ubuntu-2ubuntu1, mixed mode, sharing)
There is a matching upstream issue for this:
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8214284
In the comments for that issue, a second (fixed) issue is referenced:
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8214002
The fix for that issue was merged to the jdk 12 and jdk branches:
http://hg.openjdk.java.net/jdk/jdk12/rev/7ed5edf6ba0c
http://hg.openjdk.java.net/jdk/jdk/rev/7ed5edf6ba0c
I build the jdk branch and found the issue fixed. I also rebuild the
ubuntu package with the above mentioned patch included (only the change
in freetypeScaler.c, not the new test) and also found, that this fixes
my problem.
I don't know the plans for java in ubuntu regarding LTS releases and
patch backports, but it would be great if you could include the patch.
For the record: I did not write that patch, it is the referenced
changeset above, modified to be applied while building the ubuntu
package.
** Patch added: "font-fix.diff"
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1799014/+attachment/5226426/+files/font-fix.diff
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to freetype in Ubuntu.
https://bugs.launchpad.net/bugs/1799014
Title:
bold font rendeing in Java is broken in Cosmic with OpenJDK 11
Status in freetype package in Ubuntu:
Confirmed
Status in openjdk-lts package in Ubuntu:
Confirmed
Status in openjdk-11 package in Debian:
Fix Released
Bug description:
Since update to Cosmic, I see that bold fonts in Java have broken
rendering. See attached 400% scaled PNG for illustration. The 'r' in
bold rendering of "Hello World" shows basically a vertical line from
the end of the hook end. I am not entirely sure this is freetype issue
but some sources (https://github.com/adobe/brackets/issues/14290)
suggest there is a bug in the 2.8.1 version that Cosmic seems to
install (libfreetype6/cosmic,now 2.8.1-2ubuntu2 amd64 [installed]).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1799014/+subscriptions
More information about the foundations-bugs
mailing list