Font.loadFromFile

Load the font from a file. Returns if the loading was successful. If not, an error message is shown, which describes the problem. If the second parameter isn't 0, the current font size will be replaced with that. If the current size is also 0, the DefaultSize (10) will be used.

See: DefaultSize

struct Font
@nogc
bool
loadFromFile
nothrow
(
string filename
,
ubyte fontSize
)

Meta