Please sanity check this backport .. Code : http://cr.openjdk.java.net/~prr/8029008.8u20/ Bug https://bugs.openjdk.java.net/browse/JDK-8029008
JDK 9 changeset :- http://hg.openjdk.java.net/jdk9/client/jdk/rev/f0f8960831c1
Note that this also includes the fix to the typo that for JDK9 was added here
http://cr.openjdk.java.net/~pchelko/9/8038217/webrev/src/share/native/sun/font/sunFont.c.sdiff.html I ran SwingSet, Font2DTest & Java2D demo. -phil.