Edit report at https://bugs.php.net/bug.php?id=51315&edit=1
ID: 51315
Updated by: cmb@php.net
Reported by: administrateur at exinsidephp dot com
Summary: imagettfbbox randomly don't work
-Status: Assigned
+Status: Feedback
Type: Bug
Package: GD related
Operating System: Debian GNU/Linux 5.0
PHP Version: 5.3.2
-Assigned To: pajoye
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Please try with a current PHP snapshot and the bundled GD.
Previous Comments:
------------------------------------------------------------------------
[2016-03-31 11:40:57] mplomer at gmx dot de
For proposed fix and further info/discussion, see bug #53504
This problem maybe should also be fixed by this patch (your example image URLs are not longer
valid).
------------------------------------------------------------------------
[2010-11-22 18:47:57] ken at smallboxcms dot com
I had this problem with the bundled version of GD in PHP 5.3.3. I am pretty much stuck at 5.2.9 as
that was the last version of PHP where this bug did not happen.
------------------------------------------------------------------------
[2010-11-03 12:47:04] pajoye@php.net
@natan dot frei at gmail dot com
Please try using the bundled GD instead, in the meantime.
------------------------------------------------------------------------
[2010-11-03 12:43:58] natan dot frei at gmail dot com
Debian Lenny
Linux v101.domain 2.6.26-2-openvz-686 #1 SMP Thu Sep 16 22:16:19 UTC 2010 i686 GNU/Linux
# dpkg -l | grep php
ii libapache2-mod-php5 5.2.6.dfsg.1-1+lenny9 server-side, HTML-embedded scripting
languag
ii php-pear 5.2.6.dfsg.1-1+lenny9 PEAR - PHP Extension and Application
Reposit
ii php5 5.2.6.dfsg.1-1+lenny9 server-side, HTML-embedded scripting
languag
ii php5-cli 5.2.6.dfsg.1-1+lenny9 command-line interpreter for the php5
script
ii php5-common 5.2.6.dfsg.1-1+lenny9 Common files for packages built from
the php
ii php5-curl 5.2.6.dfsg.1-1+lenny9 CURL module for php5
ii php5-gd 5.2.6.dfsg.1-1+lenny9 GD module for php5
ii php5-suhosin 0.9.27-1 advanced protection module for php5
The same issue.
Sometimes imagettfbbox returns wrong value for x position.
For example:
-1,0,-2147483648,0,-2147483648,-12,-1,-12
------------------------------------------------------------------------
[2010-08-03 09:46:43] administrateur at exinsidephp dot com
I have upgrade my server for install DotDeb package with PHP 5.3.3 (apt-get update &&
apt-get ugrade) and the problem have disapear with this release.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=51315
--
Edit this bug report at https://bugs.php.net/bug.php?id=51315&edit=1