Bug #17261 Updated: imagettfbbox

From: Date: Fri, 12 Jul 2002 05:00:06 +0000
Subject: Bug #17261 Updated: imagettfbbox
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13907@lists.php.net to get a copy of this message
ID: 17261 Updated by: php-bugs@lists.php.net Reported By: nicolaasuni@tiscali.it -Status: Feedback +Status: No Feedback Bug Type: GD related Operating System: Windows XP Pro PHP Version: 4.2.1 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-06-25 09:13:48] j_fondecave@ifrance.com On win2K + php 4.2.1 + jpgraph, i have : DEFINE("TTF_DIR","/WINNT/fonts/"); but the function : function File($fam,$style=FS_NORMAL) has an incorrect test : if( !file_exists($f) ) remove this test and the error message disappear. ------------------------------------------------------------------------ [2002-06-11 05:08:31] mfischer@php.net 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 ------------------------------------------------------------------------ [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! ------------------------------------------------------------------------ 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

« previous php.bugs (#13907) next »