Comment 67 for bug 937200

Revision history for this message
Ryan Tandy (rtandy) wrote :

The OpenJDK folks know about this bug and have an issue open for it, https://bugs.openjdk.java.net/browse/JDK-8012351 (but sadly LP doesn't understand JIRA bugs yet, bug 157488).

Only OpenJDK developers can post bug comments on that site, so I sent a summary of my investigation to the Java2D development list: http://mail.openjdk.java.net/pipermail/2d-dev/2014-January/004111.html

xnox already filed bug 1003857 for teaching fontconfig about the Ubuntu fonts.

pdknsk (pdknsk) wrote on 2014-01-04:
> I don't know if it's relevant, but this bug also occurs with deb packages
> build from the official Oracle releases via java-package.

Since the buggy code I identified is in the "sun.font" package, I think (hope) the code is shared between OpenJDK and Oracle JDK. We're close to the release of JDK 8, though, so I wouldn't count on having this fixed in JDK 7.

pdknsk (pdknsk) wrote on 2014-01-04:
> PS. As already mentioned, removing fonts-uncore-extra is not a proper
> workaround as it sets the fonts to Ubuntu Light and not Ubuntu. It's better
> than having bold fonts though.

I would be interested to see the output of my TestCase.java (attached to comment 61) on your system.

I do think installing the JDK6 fontconfig.Ubuntu.properties is a better workaround than uninstalling unfonts. I'll try to come up with an updated fontconfig file since, as pcworld mentioned in comment 56, it's not quite correct for modern Ubuntu.

Alberto, thanks for keeping the bug status up to date! :)