Bug #12265 Updated: ImageTTFText says can't open/find font with GD 2.0
| From: | dbeu@php.net | Date: | Fri, 20 Jul 2001 11:22:11 +0000 |
| Subject: | Bug #12265 Updated: ImageTTFText says can't open/find font with GD 2.0 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60367@lists.php.net to get a copy of this message | ||
ID: 12265
Updated by: dbeu
Reported By: JamesHeinrich@Technologist.com
Old Status: Open
Status: Closed
Bug Type: GD related
Operating System: Windows NT 4.0 Workstation (PWS)
PHP Version: 4.0.6
New Comment:
fixed in cvs, thanks
Previous Comments:
------------------------------------------------------------------------
[2001-07-19 14:46:47] JamesHeinrich@Technologist.com
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 this bug report at http://bugs.php.net/?id=12265&edit=1