Re: How to use gd/php with no freetype?
| From: | Rasmus Lerdorf | Date: | Tue, 11 Dec 2001 00:52:30 +0000 |
| Subject: | Re: How to use gd/php with no freetype? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77254@lists.php.net to get a copy of this message | ||
Yes, you are out of luck without Freetype. You need to install Freetype,
then build GD against that and then finally build PHP against that
Freetype-enabled GD.
As for your second question, the ImageTTFText() function takes the TTF
font filename as an argument. See php.net/imagettftext
-Rasmus
On Thu, 6 Dec 2001 Joelmon2001@aol.com wrote:
> Hello and thanks for your time.
>
> After endless searching, I am still lost
>
> let's just assume I can't install freetype, and it looks like that for
> matters I won't get into. (linux, raq 3)
>
> What solution would allow me to specify fonts for text written into images?
> Instead of using the default font, imagine I want to use "helvetica". Am I
> out of luck without freetype? And if somehow I get freetype installed does
> php allow the method to name the font such as "Arial" and if so, which file
> do I edit so by default I can specify the font so the text written to the
> image looks as I intended? Thanks. I searched and couldn't find answer to
> both q's, esp. the first.
>
> Joel
>
>