how do I find out how many pixels wide / tall a string will be with gd ?
| From: | Chris Lee | Date: | Thu, 22 Mar 2001 23:55:44 +0000 |
| Subject: | how do I find out how many pixels wide / tall a string will be with gd ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-45232@lists.php.net to get a copy of this message | ||
I would like to right justify some text, as far as I know, I will need to determin how many pixels
wide a string will be on the image, then subtract that value from the x cord of the line your right
justifing it to. you know have the x cord for the text. am I correct? if so how do I figure our how
long my string is ?
--
Chris Lee
lee@mediawaveonline.com