love.font.newBMFontRasterizer

Available since LÖVE 0.7.0
This function is not supported in earlier versions.

Creates a new BMFont Rasterizer.

Function

Synopsis

rasterizer = love.font.newBMFontRasterizer( imageData, glyphs, DPIScale )

Arguments

ImageData imageData
The image data containing the drawable pictures of font glyphs.
string glyphs
The sequence of glyphs in the ImageData.
Available since LÖVE 11.0
number DPIScale (1)
DPI scale.

Returns

Rasterizer rasterizer
The rasterizer.

Function

Synopsis

rasterizer = love.font.newBMFontRasterizer( fileName, glyphs, DPIScale )

Arguments

string fileName
The path to file containing the drawable pictures of font glyphs.
string glyphs
The sequence of glyphs in the ImageData.
Available since LÖVE 11.0
number DPIScale (1)
DPI scale.

Returns

Rasterizer rasterizer
The rasterizer.

See Also

Other Languages