ID: 8711
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: GD related
Operating system: 
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

No feedback. Can't reproduce.


Previous Comments:
---------------------------------------------------------------------------

[2001-06-03 06:59:38] [EMAIL PROTECTED]
Please try the latest release candidate:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

Also, add a FULL example script which can be just copy/pasted and run to reproduce 
this. 
Also a GDB backtrace would be useful. Here are intructions
how to generate one:

http://www.php.net/bugs-generating-backtrace.php

--Jani


---------------------------------------------------------------------------

[2001-01-15 09:12:27] [EMAIL PROTECTED]
      Header("Content-type: image/gif"); 
       $dims=ImageTTFBBox($size,0,$fontname,$text);
       $w=$dims[4]+$dims[6];
       $h=-($dims[5]+$dims[3]);
       $im = imagecreate($w,$h);
       $bg = splitColor($background);
       $fg = splitColor($color);
       $back= ImageColorAllocate($im, $bg[0],$bg[1],$bg[2]);
       $fore= ImageColorAllocate($im, $fg[0],$fg[1],$fg[2]);
       ImageFilledRectangle($im,0,0,$w,$h,$back);
       ImageTTFText($im, $size, 0, -1 ,$h-2 , $fore, $fontname, $text);
       ImageGif($im);
       ImageDestroy($im); 


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8711&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to