php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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 http://www.php.net/manual/en/function.imagettftext.php (you might want to update the documentation sample to use ImagePNG rather than ImageGIF, btw).

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-20 07:22 UTC] dbeu@php.net
fixed in cvs, thanks
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jan 14 04:01:29 2025 UTC