ID: 17261
Updated by: mfischer@php.net
Reported By: nicolaasuni@tiscali.it
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: Windows XP Pro
PHP Version: 4.2.1
New Comment:
Try using strace and the php cgi binary to find where the problem. Make
a simple script which calls imagettfbox (but one which doesn't output
the image data) and then run it:
strace php-cgi -f yourscruipt.php
optionally, redirect the output to a file. search for the font name and
you will see where gd tries to access it.
Strace: http://razor.bindview.com/tools/desc/strace_readme.html
Previous Comments:
------------------------------------------------------------------------
[2002-06-11 04:49:56] nicolaasuni@tiscali.it
I'm sorry but the solution described by edink@php.net do not work for
me.
I've correctly set the GDFONTPATH enviromental variable but the problem
persist.
I've tested this way using WXP Pro, PHP4.2.1., GD 1.8.x and GD 2.
The problem is always the same: Could not find/open font...
------------------------------------------------------------------------
[2002-06-10 06:00:55] derick@php.net
Edin is delclared HERO so we can close the bug :)
Derick
------------------------------------------------------------------------
[2002-06-09 22:19:18] admin@trevorj.com
YOU ARE MY HERO
thank you soo much!
------------------------------------------------------------------------
[2002-06-09 20:03:14] edink@php.net
Could you try the solution described in the last comment at:
http://bugs.php.net/bug.php?id=17192
------------------------------------------------------------------------
[2002-06-09 11:58:03] admin@trevorj.com
i am also having this problem on windows xp pro. ive had to revert to
the old php_gd2.dll file
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17261--
Edit this bug report at http://bugs.php.net/?id=17261&edit=1