ID:               36498
 Updated by:       [EMAIL PROTECTED]
 Reported By:      capile at tcdesign dot com dot br
-Status:           Open
+Status:           Feedback
 Bug Type:         GD related
 Operating System: Linux
 PHP Version:      4.4.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




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

[2006-02-23 17:25:37] capile at tcdesign dot com dot br

Description:
------------
The TTF functions like imagettfbbox, imagettftext do not work.
imagettfbbox return weird results and imagettftext does not render
anything.

Everything worked fine for PHP-4.3.10 (expected result). The setup was
made with the bundled GD and native ttf support.

Reproduce code:
---------------
<?php print_r(imagettfbbox ( '9', '0', 'garamond.ttf', 'Sample text'));
?>

Expected result:
----------------
Array
(
    [0] => -1
    [1] => 3
    [2] => 49
    [3] => 3
    [4] => 49
    [5] => -9
    [6] => -1
    [7] => -9
)


Actual result:
--------------
Array
(
    [0] => 1
    [1] => 11
    [2] => -1073761736
    [3] => 1083817944
    [4] => 1083820576
    [5] => 1083820576
    [6] => -1073761720
    [7] => 1083048044
)



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


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

Reply via email to