This function allocates a new font every time it is called. It should not be used in love.draw (memory will be depleted). Its only use is when you want to use a single font in all your program, and you invoke it during the load phase. If you are using more than one font, allocate them with love.graphics.newFont and set them individually with |love.graphics.setFont(font)|.
filename | string | The filepath to the font. |
size = 12 | number | The size of the font. |