Function
love.graphics.newImageFont( filename, glyphs )
An image font is created by having a series of characters set next to each other in a horizontal row. Between all the characters and on the left and right sides should be a dividing line consisting of a single color (which is not found in the actual characters themselves).
This example image is consiting of black and white glyphs on a transparent background where they are separated by yellow lines. The yellow will be used in determining where each character begins and ends.
Synopsis
var = love.graphics.newImageFont( filename, glyphs )
Arguments
filename The filepath to the image file.
glyphs A list of the characters as they are in the image.
Returns
Font A Font object containing the font data.
Copyright © 2006-2008 LÖVE Development Team.