Font.this

Loads a dsdl2.ttf.Font from a buffer, which wraps TTF_OpenFontRW

Parameters

data void[]

buffer of the font file

size uint

point size of the loaded font

Throws

dsdl2.SDLException if unable to load the font

Meta