Font.this

Loads a dsdl2.ttf.Font from a buffer with a face index, which wraps TTF_OpenFontIndexRW

Parameters

data void[]

buffer of 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