I need the text width and height for my project and I used to use ImageText.textsize for it. Then I realized it was depreciated so I tried using the suggested methods .textbbox and .textlength. But I was not getting the right length even by using .textlength and using the font size as the height didn't work. Continue reading...