< prev index next >

modules/graphics/src/main/java/com/sun/javafx/font/FontFactory.java

Print this page

        

*** 87,100 **** * * @param name the name for font, it can be <code>null</code>. * @param stream the stream from which to load the font. * @param size the size for the font. * @param register whether the font should be register. * @return the Font, or null if the font cannot be created. */ ! public PGFont loadEmbeddedFont(String name, InputStream stream, ! float size, boolean register); /** * Loads a font from the specified path. If the load is successful * such that the location is readable, and it represents a supported * font format then a <code>PGFont</code> object will be returned. --- 87,101 ---- * * @param name the name for font, it can be <code>null</code>. * @param stream the stream from which to load the font. * @param size the size for the font. * @param register whether the font should be register. + * @param all whether to load all fonts from a TTC * @return the Font, or null if the font cannot be created. */ ! public PGFont[] loadEmbeddedFont(String name, InputStream stream, ! float size, boolean register, boolean all); /** * Loads a font from the specified path. If the load is successful * such that the location is readable, and it represents a supported * font format then a <code>PGFont</code> object will be returned.
*** 122,133 **** * * @param name the name for font, it can be <code>null</code>. * @param path the path from which to load the font. * @param size the size for the font. * @param register whether the font should be register. * @return the Font, or null if the font cannot be created. */ ! public PGFont loadEmbeddedFont(String name, String path, ! float size, boolean register); public boolean isPlatformFont(String name); } --- 123,135 ---- * * @param name the name for font, it can be <code>null</code>. * @param path the path from which to load the font. * @param size the size for the font. * @param register whether the font should be register. + * @param all whether to load all fonts from a TTC * @return the Font, or null if the font cannot be created. */ ! public PGFont[] loadEmbeddedFont(String name, String path, ! float size, boolean register, boolean all); public boolean isPlatformFont(String name); }
< prev index next >