Re: How do I do italics on a text string in an image?
| From: | Brent Clements | Date: | Wed, 13 Oct 2004 01:23:37 +0000 |
| Subject: | Re: How do I do italics on a text string in an image? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199327@lists.php.net to get a copy of this message | ||
Jason, thanks for the reminder, I completely forgot about the italic
version(s).
-Brent
----- Original Message -----
From: "Jason Wong" <php-general@gremlins.biz>
To: <php-general@lists.php.net>
Sent: Tuesday, October 12, 2004 8:08 PM
Subject: Re: [PHP] 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
>