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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 12:01:31 2024 UTC