#17261 [Comment]: imagettfbbox
| From: | nicolaasuni at tiscali dot it | Date: | Sat, 27 Jul 2002 09:17:21 +0000 |
| Subject: | #17261 [Comment]: imagettfbbox | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15412@lists.php.net to get a copy of this message | ||
ID: 17261
Comment by: nicolaasuni@tiscali.it
Reported By: nicolaasuni@tiscali.it
Status: No Feedback
Bug Type: GD related
Operating System: Windows XP Pro
PHP Version: 4.2.1
New Comment:
I've Just updated my system with PHP 4.2.2 and the problem persist.
I don't want create a personalized version of GD2 as suggested by
j_fondecave@ifrance.com because I'm trying to develop something that
will work with GD2 "standard".
I hope that a corrected GD2 version will be released soon.
Previous Comments:
------------------------------------------------------------------------
[2002-07-12 01:00:06] php-bugs@lists.php.net
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".
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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