love.font.newImageRasterizer

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

Creates a new Image Rasterizer.

Function

Create an ImageRasterizer from the image data.

Synopsis

rasterizer = love.font.newImageRasterizer( imageData, glyphs, extraSpacing, DPIScale )

Arguments

ImageData imageData
Font image data.
string glyphs
String containing font glyphs.
number extraSpacing (0)
Font extra spacing.
Available since LÖVE 11.0
number DPIScale (1)
Font DPI scale.

Returns

Rasterizer rasterizer
The rasterizer.

See Also

Other Languages