php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16989 Could not find/open font...
Submitted: 2002-05-03 06:51 UTC Modified: 2002-05-16 19:01 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: grabenhorst at pioneer dot de Assigned:
Status: Closed Package: GD related
PHP Version: 4.2.0 OS: WinNT
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: grabenhorst at pioneer dot de
New email:
PHP Version: OS:

 

 [2002-05-03 06:51 UTC] grabenhorst at pioneer dot de
Oops?
php_gd2.dll brings out 'Could not find/open font...' on 

$array = @ImageTTFBBox($size,0,$font,$textstring).

[$font is a ttf-file in the same directory9

php_gd.dll works fine with SAME configuration...

Probably a bug in the [Win32]GD2?

greets, Lars

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-16 18:39 UTC] matt at zevi dot net
Same again in 4.2.1

Have tried all sorts of different methods to access font file name - including c:/, c:\ /, \ - also using realname() which was suggested on some mailing list somewhere.

Win2K, Apache 1.3.24, GD2

Matt
 [2002-05-16 19:01 UTC] edink@php.net
See the last comment on http://bugs.php.net/bug.php?id=17192

 [2002-12-12 11:46 UTC] lavigna4 at cti dot ecp dot fr
I had the same problem and solved it using the path to the windows font folder (c:/WINDOWS/Fonts/arial.ttf). Strange isn't it ??

Arnaud
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jul 05 04:05:44 2022 UTC