Class FontSources


  • public class FontSources
    extends Object
    Static helper methods to deal with FontSource instances.
    • Method Detail

      • loadFontFrom

        public static Font loadFontFrom​(FontSource fontSource)
                                 throws JadiceException
        Create a Font using the information supplied by a FontSource.
        Parameters:
        fontSource - holds the information necessary to create a Font
        Returns:
        a Font created using the information in the given FontSource
        Throws:
        JadiceException - thrown in case of errors during font loading, including I/O problems