Re: Re: GD & Fonts

From: Date: Fri, 09 May 2003 12:38:42 +0000
Subject: Re: Re: GD & Fonts
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-147000@lists.php.net to get a copy of this message
Messrs Wong and Vogelsinger, According to phpinfo() my document root is _SERVER["DOCUMENT_ROOT"] /home/data/ClientWebs/chrisplay Permissions for the font is as follows : -rwxrwxrwx 1 root 503 63988 May 9 14:25 beast_wars.ttf* This font is sitting in /home/data/Clientwebs/chrisplay I have referenced it as follows : //Let GD know where fonts reside putenv('GDFONTPATH = /home/data/ClientWebs/chrisplay'); $fontname = 'beast_wars.ttf'; Still the same errors...... I need to jet off to a support call now....so I`ll get back to this upon return. Thanks in the interim for the pointers.... Regards Chris 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 > ------------------------------------------ > /* > Never eat more than you can lift. > -- Miss Piggy > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 "Remember, Information is not knowledge; Knowledge is not Wisdom; Wisdom is not truth; Truth is not beauty; Beauty is not love; Love is not music; Music is the best." -- Frank Zappa

« previous php.general (#147000) next »