|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12265 ImageTTFText says can't open/find font with GD 2.0
Submitted: 2001-07-19 14:46 UTC Modified: 2001-07-20 07:22 UTC
From: JamesHeinrich at Technologist dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.6 OS: Windows NT 4.0 Workstation (PWS)
Private report: No CVE-ID: None
 [2001-07-19 14:46 UTC] JamesHeinrich at Technologist dot 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 (you might want to update the documentation sample to use ImagePNG rather than ImageGIF, btw).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-20 07:22 UTC]
fixed in cvs, thanks
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Oct 03 06:05:53 2022 UTC