On Tue, 24 Aug 2004 21:49:03 -0500, Brent Clements <[EMAIL PROTECTED]> wrote: > 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? >
Are you using PHP to create this image? If what you mean is: Will the text fit withint a certain space on a browser, the answer is that you can't tell. A user can always override the size of your fonts. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php