Font.load

Loads a font.

class Font
@trusted
load
(
string path
,
size_t size
)

Parameters

path string

The path to the font.

size size_t

Font size.

Throws

$(PHOBREF object,Exception) if the font was not found in the file system, or if the font is damaged.

Meta