--- old/modules/javafx.graphics/src/main/java/com/sun/javafx/font/coretext/CTGlyphLayout.java 2018-03-06 10:47:28.000000000 +0530 +++ new/modules/javafx.graphics/src/main/java/com/sun/javafx/font/coretext/CTGlyphLayout.java 2018-03-06 10:47:28.000000000 +0530 @@ -118,7 +118,7 @@ if (slot != -1) { glyphStart += OS.CTRunGetGlyphs(runRef, slot << 24, glyphStart, glyphs); } else { - glyphStart += OS.CTRunGetGlyphCount(runRef); + glyphStart += OS.CTRunGetGlyphs(runRef, 0, glyphStart, glyphs); } if (size > 0) { posStart += OS.CTRunGetPositions(runRef, posStart, positions);