note 20388 deleted from function.imagestring by aidan
| From: | aidan@php.net | Date: | Thu, 26 Aug 2004 06:34:47 +0000 |
| Subject: | note 20388 deleted from function.imagestring by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75288@lists.php.net to get a copy of this message | ||
Note Submitter: derobert at erols dot com
----
The y value is where to put the TOP of the text, not the baseline as you might expect.
That means that in order to put text on the bottom of them image, you must subtract
ImageFontHeight() from the bottom coordinate. And to line up with the text's baseline is, well,
hard.