Working on a Macintosh G3 PowerBook running OS 10.2 and PHP 4.3.0 with GD2
...
I'm having trouble telling GD2 where the font I'm using in a PHP exercise
(Chapter 19 of the 2nd edition of the Welling/Thomson book), arial.ttf,
resides. The font is obviously in a folder on my hard drive, the path of
which runs like so:
Macintosh HD/Fonts/arial.ttf
The line of PHP code that gives this info goes like this--at least the way
I unsuccessfully put it:
putenv('GDFONTPATH=Macintosh HD/Fonts
$fontname = 'arial.ttf'
As I say, it doesn't work. Can anyone tell me how I should alter the code?
Should I put the font in the root folder, 'localhost/..."?
Thank you.
Steve Tiano
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php