love.font.newTrueTypeRasterizer
Creates a new TrueType Rasterizer.
rasterizer = love.font.newTrueTypeRasterizer( 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.newTrueTypeRasterizer( 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.newTrueTypeRasterizer( 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.