aayush
09/04/2017, 10:24 AMFont.loadFont(javaClass.getResourceAsStream("/fonts/Lato-Regular.ttf"), 16.0)
And according to the method loadfont documentation
* Loads a font resource from the specified input stream.
* If the load is successful such that the stream can be
* fully read, and it represents a supported font format then a
* <code>Font</code> object will be returned.
When I print this I do get a Font Object like mentioned in Font.java file
Font[name=Lato Regular, family=Lato, style=Regular, size=16.0]
Is this only loading the font & not applying to the application?aayush
09/04/2017, 1:40 PMedvin
09/05/2017, 8:29 PMaayush
09/06/2017, 7:08 AM