Re: Problem loading fonts in gd()
| From: | Jason Wong | Date: | Sat, 29 Nov 2003 20:16:43 +0000 |
| Subject: | Re: Problem loading fonts in gd() | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171367@lists.php.net to get a copy of this message | ||
On Sunday 30 November 2003 03:59, Eric wrote:
> I have already tried that:
>
> imageloadfont("C:/WINDOWS/Fonts/arial.ttf");
>
> i also tried:
>
> imageloadfont("C:\\WINDOWS\\Fonts\\arial.ttf");
>
> I ALSO tried this:
>
> imageloadfont($_SERVER['DOCUMENT_ROOT'].'/gd_test.php');
>
> and that didn't work either....
>
> So I'm unfortunately still stuck.
If you're using TTF fonts then you should be using imagettftext().
--
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
------------------------------------------
/*
Peers's Law:
The solution to a problem changes the nature of the problem.
*/