{{newin|[[0.7.0]]|070|type=function}}
Creates a new Rasterizer.

== Function ==
=== Synopsis ===
<source lang="lua">
rasterizer = love.font.newRasterizer( filename )
</source>
=== Arguments ===
{{param|string|filename|The font file.}}
=== Returns ===
{{param|Rasterizer|rasterizer|The rasterizer.}}

== Function ==
=== Synopsis ===
<source lang="lua">
rasterizer = love.font.newRasterizer( data )
</source>
=== Arguments ===
{{param|FileData|data|The FileData of the font file.}}
=== Returns ===
{{param|Rasterizer|rasterizer|The rasterizer.}}

Create a TrueTypeRasterizer.

== Function ==
=== Synopsis ===
<source lang="lua">
rasterizer = love.font.newRasterizer( size, hinting_mode )
</source>
=== See ===
* [[love.font.newTrueTypeRasterizer]]

Create a newBMFontRasterizer.

== Function ==
=== Synopsis ===
<source lang="lua">
rasterizer = love.font.newRasterizer( imageData, glyphs )
</source>
=== See ===
* [[love.font.newBMFontRasterizer]]

== Function? ==
=== Synopsis ===
<source lang="lua">
rasterizer = love.font.newRasterizer( image1, image2, ... )
</source>
=== See ===
* [[love.font.newBMFontRasterizer]]

== See Also ==
* [[parent::love.font]]
* [[love.font.newTrueTypeRasterizer]]
* [[love.font.newBMFontRasterizer]]
* [[Constructs::Rasterizer]]
[[Category:Functions]]
{{#set:Description=Creates a new Rasterizer.}}
== Other Languages ==
{{i18n|love.font.newRasterizer}}