< prev index next >

modules/graphics/src/main/java/com/sun/javafx/tk/FontLoader.java

Print this page

        

*** 37,47 **** public abstract List<String> getFamilies(); public abstract List<String> getFontNames(); public abstract List<String> getFontNames(String family); public abstract Font font(String family, FontWeight weight, FontPosture posture, float size); ! public abstract Font loadFont(InputStream in, double size); ! public abstract Font loadFont(String path, double size); public abstract FontMetrics getFontMetrics(Font font); public abstract float getCharWidth(char ch, Font font); public abstract float getSystemFontSize(); } --- 37,47 ---- public abstract List<String> getFamilies(); public abstract List<String> getFontNames(); public abstract List<String> getFontNames(String family); public abstract Font font(String family, FontWeight weight, FontPosture posture, float size); ! public abstract Font[] loadFont(InputStream in, double size, boolean all); ! public abstract Font[] loadFont(String path, double size, boolean all); public abstract FontMetrics getFontMetrics(Font font); public abstract float getCharWidth(char ch, Font font); public abstract float getSystemFontSize(); }
< prev index next >