< prev index next >

modules/graphics/src/test/java/test/com/sun/javafx/pgstub/StubFontLoader.java

Print this page

        

*** 165,181 **** String fn = "Amble" + name; return new Font(fn, size); } @Override ! public Font loadFont(InputStream in, double size) { ! return new Font("not implemented", size); } @Override ! public Font loadFont(String urlPath, double size) { ! return new Font("not implemented", size); } @Override public FontMetrics getFontMetrics(Font font) { float size = (float) font.getSize(); --- 165,185 ---- String fn = "Amble" + name; return new Font(fn, size); } @Override ! public Font[] loadFont(InputStream in, double size, boolean all) { ! Font[] fonts = new Font[1]; ! fonts[0] = new Font("not implemented", size); ! return fonts; } @Override ! public Font[] loadFont(String urlPath, double size, boolean all) { ! Font[] fonts = new Font[1]; ! fonts[0] = new Font("not implemented", size); ! return fonts; } @Override public FontMetrics getFontMetrics(Font font) { float size = (float) font.getSize();
< prev index next >