avalanche123/Imagine — pull request #161 by aykutfarsak (2012-11-09 09:39:46+00:00)
Title: [GD] Drawer::text() position fix

When i try drawing multi-line text (line-break with "\n") to a new empty image, y-position of text goes down as count of "\n" in the text. **imagefttext()** function needs x and y coordinates (basepoint of the first character). We already create a Point object for position of text. Just adding fontsize to it and then we can get first character basepoint. I am not sure with this commit but it works for me.