Height of a text
Posted: Wed Oct 31, 2012 12:14 am
Hi all i look for a way to get the height of a multiline text. Is it possible with something like xxx:getWidth(). Anyone has an idea ?
weird but i would guessbert wrote:Hi all i look for a way to get the height of a multiline text. Is it possible with something like xxx:getWidth(). Anyone has an idea ?
Code: Select all
your_font:getHeight() * select(2, your_font:getWrap("text you're printing", your_printf_width))