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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 17:01:31 2024 UTC