Tom, when I switch code to:

 putenv('GDFONTPATH=/Macintosh HD/Fonts/');
 $font = Macintosh HD/Fonts./'arial.ttf';

per your saying:

 Give the full path to the font file, I do like this

  $font = $path_to_font.'/font.ttf';

I get:

Parse error: parse error, unexpected T_STRING in
/Users/stephent/Sites/php_mysql_web_dev/chapter_19/make_button.php on line
16

Whattaya make of that?

--------------------------------------------------------------------
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

Reply via email to