Mojo app theme openfont
Method OpenFont:Font( path:String,size:Float )#
Loads a font from a file.
If file
is an absolute path, this method is effectively the same as calling Font.Load.
If file
is not an absolute path, the font is searched for in the following locations:
-
The theme's directory.
-
The asset::fonts/ directory.