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.

Font:getWidth

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

width = font:getWidth(text)

Font:setFilter

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