love.font.newRasterizer

love.font.newRasterizer

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

Creates a new Rasterizer.

Function

Synopsis

rasterizer = love.font.newRasterizer( filename )

Arguments

string filename
The font file.

Returns

Rasterizer rasterizer
The rasterizer.

Function

Synopsis

rasterizer = love.font.newRasterizer( data )

Arguments

FileData data
The FileData of the font file.

Returns

Rasterizer rasterizer
The rasterizer.

Create a TrueTypeRasterizer.

Function

Synopsis

rasterizer = love.font.newRasterizer( size, hinting_mode )

See

Create a newBMFontRasterizer.

Function

Synopsis

rasterizer = love.font.newRasterizer( imageData, glyphs )

See

Function?

Synopsis

rasterizer = love.font.newRasterizer( image1, image2, ... )

See

See Also

doc_love
2017-03-21 15:46:38
Comments
Leave a Comment

Please login to continue.