Font.loadFromFile

Load the font from a file. If the second parameter isn't 0, the current font size will be replaced with that. If both are 0, an exception is thrown.

struct Font
void
loadFromFile
(
string fontFile
,
ubyte fontSize = 0
)

Meta