printf y size?
Posted: Wed May 04, 2016 1:00 am
Is there a reasonable way to get how much love.graphics.printf will wrap?
That works perfectly! Thanks.pgimeno wrote:I think you want [wiki]Font:getWrap[/wiki].
Edit: In particular, [wiki]Font:getHeight[/wiki]() * #lines where lines is the second value returned by Font:getWrap().