--- old/modules/graphics/src/main/java/com/sun/javafx/font/PrismFontFile.java 2014-05-06 13:42:31.193825300 -0700 +++ new/modules/graphics/src/main/java/com/sun/javafx/font/PrismFontFile.java 2014-05-06 13:42:30.938855900 -0700 @@ -259,6 +259,26 @@ return strikeMap; } + /* Used to determine if this size has embedded bitmaps, which + * for CJK fonts should be used in preference to LCD glyphs. + */ + public boolean useEmbeddedBitmapsForSize(int ptSize) { + Buffer eblcTable = readTable(EBLCTag); + if (eblcTable == null) return false; + int numSizes = eblcTable.getInt(4); + /* The bitmapSizeTable's start at offset of 8. + * Each bitmapSizeTable entry is 48 bytes. + * The offset of ppemY in the entry is 45. + */ + for (int i=0;i