note 45096 added to function.imagestring

From: Date: Thu, 26 Aug 2004 06:35:52 +0000
Subject: note 45096 added to function.imagestring
Groups: php.notes 
Request: Send a blank email to php-notes+get-75289@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.imagestring.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45096 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45096&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45096&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#75289) next »