SDLFont.this

Loads a font from a file.

class SDLFont
this

Parameters

sdlttf SDLTTF

library object.

filename string

path of the font file.

ptSize int

font size in 72 dpi ("This basically translates to pixel height" says the doc).

Throws

SDL2Exception on error.

Meta