Lutro - Documentation

Font (type)

Defines the shape of characters that can be drawn onto the screen.

Lutro doesn't support ttf fonts, only pixel fonts. Also, unlike LÖVE, there is no default font.


Determines the maximum width (accounting for newlines) taken by the given string.

width = font:getWidth(text)


A stub. Lutro is software rendered so this call doesn't make sense in this context.