ID:               24665
 Updated by:       [EMAIL PROTECTED]
 Reported By:      daeken_9999 at yahoo dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         GD related
 Operating System: Debian GNU/Linux
 PHP Version:      4.3.2
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




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

[2003-07-15 23:04:35] [EMAIL PROTECTED]

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

And if that doesn't compile out-of-the-box (without any hacks by you)
then please tell us WHAt does not work.

And it would help a lot if we knew what your configure line is like.


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

[2003-07-15 09:40:08] daeken_9999 at yahoo dot com

Description:
------------
When using PHP 4.3.2's internal GD library with the with or without the
FreeType/FreeType2 functions, imagettftext() and imagettfbbox() are not
compiled into PHP.  When I forced it to be compiled into PHP (by
setting the define in gd.c), the functions both operated very
strangely, returning coords in the millions, no matter what parameters
were given to it.

Reproduce code:
---------------
<?php
$arr = imagettfbbox(20, 0, $font, $string);
var_dump($arr);
?>

Expected result:
----------------
Proper coordinates for the bounding box.

Actual result:
--------------
array(8) {
  [0]=>
  int(-1073758404)
  [1]=>
  int(1076848078)
  [2]=>
  int(1948291952)
  [3]=>
  int(1930279504)
  [4]=>
  int(-1073758404)
  [5]=>
  int(1077268252)
  [6]=>
  int(135248404)
  [7]=>
  int(135267020)
}


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


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

Reply via email to