Re: [PHP] Problem loading fonts in gd()

From: Jason Wong (php-general_at_gremlins.biz)
Date: 11/29/03


To: php-general@lists.php.net
Date: Sun, 30 Nov 2003 04:16:43 +0800

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.
*/