Telling GD2 Where Fonts Are

From: Date: Fri, 28 Nov 2003 12:36:27 +0000
Subject: Telling GD2 Where Fonts Are
Groups: php.general 
Request: Send a blank email to php-general+get-171264@lists.php.net to get a copy of this message
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/ .

« previous php.general (#171264) next »