Bug #12265: ImageTTFText says can't open/find font with GD 2.0

From: Date: Thu, 19 Jul 2001 18:46:49 +0000
Subject: Bug #12265: ImageTTFText says can't open/find font with GD 2.0
Groups: php.dev 
Request: Send a blank email to php-dev+get-60320@lists.php.net to get a copy of this message
From: JamesHeinrich@Technologist.com Operating system: Windows NT 4.0 Workstation (PWS) PHP version: 4.0.6 PHP Bug Type: GD related Bug description: ImageTTFText says can't open/find font with GD 2.0 Using the precompiled php_gd.dll that comes with PHP 4.0.6 (GD v2.0) ImageTTFText() reports could not open/find font whether the font is specified as filename, absolute path or URL. I had to downgrade to GD v1.6 (supplied with PHP 4.0.5) and functionality was back to normal. Just use the sample script at http://www.php.net/manual/en/function.imagettftext.php (you might want to update the documentation sample to use ImagePNG rather than ImageGIF, btw). -- Edit bug report at: http://bugs.php.net/?id=12265&edit=1

« previous php.dev (#60320) next »