love.font.newRasterizer
Creates a new Rasterizer.
rasterizer = love.font.newRasterizer( filename )
filename string The font file.
rasterizer Rasterizer The rasterizer.
rasterizer = love.font.newRasterizer( data )
data FileData The FileData of the font file.
rasterizer Rasterizer The rasterizer.
rasterizer = love.font.newRasterizer( size, hinting, dpiscale )
size (12) number The font size.
hinting ('normal') HintingMode True Type hinting mode.
dpiscale (love.window.getDPIScale()) number The font DPI scale.
rasterizer Rasterizer The rasterizer.
rasterizer = love.font.newRasterizer( fileName, size, hinting, dpiscale )
fileName string Path to font file.
size (12) number The font size.
hinting ('normal') HintingMode True Type hinting mode.
dpiscale (love.window.getDPIScale()) number The font DPI scale.
rasterizer Rasterizer The rasterizer.
rasterizer = love.font.newRasterizer( fileData, size, hinting, dpiscale )
fileData FileData File data containing font.
size (12) number The font size.
hinting ('normal') HintingMode True Type hinting mode.
dpiscale (love.window.getDPIScale()) number The font DPI scale.
rasterizer Rasterizer The rasterizer.
rasterizer = love.font.newRasterizer( imageData, glyphs, dpiscale )
imageData ImageData The image data containing the drawable pictures of font glyphs.
glyphs string The sequence of glyphs in the ImageData.
dpiscale (1) number DPI scale.
rasterizer Rasterizer The rasterizer.
rasterizer = love.font.newRasterizer( fileName, glyphs, dpiscale )
fileName string The path to file containing the drawable pictures of font glyphs.
glyphs string The sequence of glyphs in the ImageData.
dpiscale (1) number DPI scale.
rasterizer Rasterizer The rasterizer.