Difference between revisions of "love.font.newTrueTypeRasterizer"

m (If I'm not wrong, it creates rasterizer)
m (See Also: Added love.font.newImageRasterizer)
Line 18: Line 18:
 
* [[love.font.newRasterizer]]
 
* [[love.font.newRasterizer]]
 
* [[love.font.newBMFontRasterizer]]
 
* [[love.font.newBMFontRasterizer]]
 +
* [[love.font.newImageRasterizer]]
 
* [[Constructs::Rasterizer]]
 
* [[Constructs::Rasterizer]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Creates a new TrueType Rasterizer.}}
 
{{#set:Description=Creates a new TrueType Rasterizer.}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.font.newTrueTypeRasterizer}}
 
{{i18n|love.font.newTrueTypeRasterizer}}

Revision as of 10:28, 22 April 2020

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

Creates a new TrueType Rasterizer.

Function

Create a TrueTypeRasterizer with the default font.

Synopsis

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

Arguments

number size
The font size.
HintingMode hinting_mode
True Type hinting mode.

Returns

Rasterizer rasterizer
The rasterizer.

See Also


Other Languages