Could you please explain what exactly the return value of imagettfbbox()
mean? The manual says:
imagettfbbox() returns an array with 8 el
The following resource explains this: http://www.tuxradar.com/practicalphp/11/2/6 (via archive.org)
Just use abs(). This is from the resource above: "[the function] returns its values from the lower-left corner of the baseline of the text string, not the absolute lower-left corner. The baseline of a letter is where it would sit if you were hand writing it on lined paper"