|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-10-04 06:52 UTC] 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()
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 13:00:01 2025 UTC |
Following is the information got for gdinfo: array(10) { ["GD Version"]=> string(13) "2.0 or higher" ["FreeType Support"]=> bool(false) ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(true) ["JPG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XBM Support"]=> bool(false) ["JIS-mapped Japanese Font Support"]=> bool(false) }