How do I find out if a string will fit in an area of an image?

From: Date: Wed, 25 Aug 2004 02:49:03 +0000
Subject: How do I find out if a string will fit in an area of an image?
Groups: php.general 
Request: Send a blank email to php-general+get-194644@lists.php.net to get a copy of this message
Hi All, Let's say I have a string of text. $foo = "I WANT ALot of Text to be diSPLAYed!" I have an area on my image that is around 386 pixels wide. How do I find out if my text will fit in that area using any size font? Thanks, Brent

« previous php.general (#194644) next »