Jason, thanks for the reminder, I completely forgot about the italic version(s). -Brent ----- Original Message ----- From: "Jason Wong" <php-general@xxxxxxxxxxxx> To: <php-general@xxxxxxxxxxxxx> Sent: Tuesday, October 12, 2004 8:08 PM Subject: Re: How do I do italics on a text string in an image? > On Wednesday 13 October 2004 08:30, Brent Clements wrote: > > I've got the following string: > > > > $text = "football"; > > > > How do I put that string in italics using a true type font on an image? > > Use the italic version of the font. > > In case you're wondering, the italic/bold that you can select on fonts in, say > Windows, are generated on-the-fly if the italic/bold versions of that font > are not available. Have a look through your fonts directory and you'll see > the font names ending with *n, *i, *b, meaning normal, italic, bold > respectively. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > ------------------------------------------ > Search the list archives before you post > http://marc.theaimsgroup.com/?l=php-general > ------------------------------------------ > /* > Never test for an error condition you don't know how to handle. > -- Steinbach > */ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php