Bug: https://bugs.openjdk.java.net/browse/JDK-8166111 Webrev: http://cr.openjdk.java.net/~prr/8166111/ Test fix. Details in the bug evaluation but in short, the test assumes a 1:1 mapping of chars:glyphs by layout. -phil.