< prev index next >

src/java.desktop/macosx/classes/sun/font/CFont.java

Print this page

        

*** 209,218 **** --- 209,222 ---- private CompositeFont createCompositeFont() { ArrayList<String> listOfString = new ArrayList<String>(); getCascadeList(nativeFontPtr, listOfString); + // add JRE "Lucida Sans Regular" to the cascade list to enable fallback + // to happen to this JRE font in case the intended glyph is missing in + // fonts provided in the CoreText provided cascaded list + listOfString.add("Lucida Sans Regular"); FontManager fm = FontManagerFactory.getInstance(); int numFonts = 1 + listOfString.size(); PhysicalFont[] fonts = new PhysicalFont[numFonts]; fonts[0] = this; int idx = 1;
< prev index next >