ID:               39031
 Comment by:       judas dot iscariote at gmail dot com
 Reported By:      vijijvs at yahoo dot co dot in
 Status:           Open
 Bug Type:         Documentation problem
 Operating System: Mandrake Linux
 PHP Version:      Irrelevant
 New Comment:

Your PHP is compiled against a GD version that doesn't support this.

what gdinfo says ?

<?php
var_dump(gd_info());
?>


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

[2006-10-04 06:52:03] vijijvs at yahoo dot co dot in

Description:
------------
I get a fatal error:

Fatal error: Call to undefined function: imageftbbox()in php4.3.9 even
though other image functions are working.

Reproduce code:
---------------
$fontSize = 5; 
$lineSpacing = 1;                       
list($llx, $lly, $lrx, $lry, $urx, $ury, $ulx, $uly) =
imageftbbox($fontSize, 0, $fontFileName, $text, array("linespacing" =>
$lineSpacing));
$textWidth = $lrx - $llx;
$textHeight = $lry - $ury; 
$angle = 0;

Actual result:
--------------
Fatal error: Call to undefined function: imageftbbox()


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


-- 
Edit this bug report at http://bugs.php.net/?id=39031&edit=1

Reply via email to