Font.this

Loads a dsdl2.ttf.Font from a font file with a face index, which wraps TTF_OpenFontIndex

Parameters

file string

path to the font file

size uint

point size of the loaded font

index size_t

face index of the loaded font

Throws

dsdl2.SDLException if unable to load the font

Meta