|  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
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.
Block user comment
Status: Assign to:
Bug Type:
From: grabenhorst at pioneer dot de
New email:
PHP Version: OS:


 [2002-05-03 06:51 UTC] grabenhorst at pioneer dot de
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


Add a Patch

Pull Requests

Add a Pull Request


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

 [2002-05-16 19:01 UTC]
See the last comment on

 [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 ??

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 11:01:27 2023 UTC