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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1799014

Title:
  bold font rendeing in Java is broken in Cosmic with OpenJDK 11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1799014/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to