Re: Re: GD & Fonts

From: Date: Fri, 09 May 2003 13:26:40 +0000
Subject: Re: Re: GD & Fonts
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-147006@lists.php.net to get a copy of this message
On Friday 09 May 2003 20:38, Chris Blake wrote: [snip] > //Let GD know where fonts reside > putenv('GDFONTPATH = /home/data/ClientWebs/chrisplay'); > $fontname = 'beast_wars.ttf'; > > Still the same errors...... I was replying in response to your post quoted below. James suggested that you forget about using GDFONTPATH and actually include the full path to the font in imagettftext(), your reply was that it doesn't work. My reply to you is to show that what James suggested doesn't work. What you have above does not do that -- you're still using/trying to use GDFONTPATH. > On Fri, 2003-05-09 at 13:48, Jason Wong wrote: > > On Friday 09 May 2003 19:10, Chris Blake wrote: > > > Still the same errors..... > > > > Could you show your code; and the full path to your font. > > > > > must I use arial, or can I use any TTF ? > > > > No, you can use any TTF. > > > > > On Fri, 2003-05-09 at 12:57, James wrote: > > > > imagettftext($im, 20, 0, 10, 20, $black, "/path/arial.ttf", > > > > "Testing... Omega: Ω"); > > > > > > > > Put your path into the call, making sure it is from the root of the > > > > web server. -- 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 ------------------------------------------ /* UH-OH!! We're out of AUTOMOBILE PARTS and RUBBER GOODS! */

« previous php.general (#147006) next »