Rasterizer
A Rasterizer is an object that parses a TTF file, decoding and rendering glyphs from it.
Usually you can just use Font
objects.
Constructor
lovr.data.newRasterizer | Create a new Rasterizer. |
Methods
Rasterizer:getAdvance | Get the advance of the font. |
Rasterizer:getAscent | Get the ascent of the font. |
Rasterizer:getDescent | Get the descent of the font. |
Rasterizer:getGlyphCount | Get the number of glyphs stored in the font file. |
Rasterizer:hasGlyphs | Get whether the Rasterizer can rasterize a set of glyphs. |
Rasterizer:getHeight | Get the height of the font. |
Rasterizer:getLineHeight | Get the line height of the font. |
See also
lovr.data