note 45096 deleted from function.imagestring by betz
| From: | betz@php.net | Date: | Thu, 26 Aug 2004 09:40:33 +0000 |
| Subject: | note 45096 deleted from function.imagestring by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75315@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.