note 20388 added to function.imagestring

From: Date: Tue, 02 Apr 2002 09:57:08 +0000
Subject: note 20388 added to function.imagestring
Groups: php.notes 
Request: Send a blank email to php-notes+get-28496@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. -- http://www.php.net/manual/en/function.imagestring.php http://master.php.net/manage/user-notes.php?action=edit+20388 http://master.php.net/manage/user-notes.php?action=delete+20388 http://master.php.net/manage/user-notes.php?action=reject+20388

« previous php.notes (#28496) next »