love.graphics.newFont

Creates a new Font.

Function

Synopsis

font = love.graphics.newFont( filename, size )

Arguments

string filename
The filepath to the font file.
number size (12)
The size of the font.

Returns

Font font
A Font object which can be used to draw text on screen.

See Also