|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: JamesHeinrich at Technologist dot com
New email:
PHP Version: OS:


 [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 Sep 26 23:05:52 2022 UTC