Comment 13 for bug 1799014

Revision history for this message
Matthias Bläsing (mblaesing) wrote :

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.