love.graphics.newImageFont( filename, glyphs )
Creates a new font by loading a specifically formatted image.
Synopsis
font = love.graphics.newImageFont( filename, glyphs )
Parameters
filename |
string |
The filepath to the image file. |
glyphs |
string |
A string of the characters in the image in order from left to right. |
Returns
font |
Font |
A Font object which can be used to draw text on screen. |