Bug #64614 [Com]: imagettbbox() Always returns -1 for X coordinate left corner.
Edit report at https://bugs.php.net/bug.php?id=64614&edit=1
ID: 64614
Comment by: davehampson12 at gmail dot com
Reported by: fredcm at gmail dot com
Summary: imagettbbox() Always returns -1 for X coordinate
left corner.
Status: Duplicate
Type: Bug
Package: GD related
Operating System: Linux/Windows
PHP Version: 5.4.13
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Thanks guys - much appriciated
Previous Comments:
------------------------------------------------------------------------
[2016-09-23 13:03:02] cmb@php.net
Actually, this is a duplicate of bug #53504.
------------------------------------------------------------------------
[2016-09-23 12:54:14] cmb@php.net
Fixed with <http://git.php.net/?p=php-src.git;a=commit;h=f5f94d9c>.
------------------------------------------------------------------------
[2016-09-14 17:36:28] cmb@php.net
Besides Mark's fix, I've noticed that external libgd's results may
differ from those of the bundled libgd, see
<https://github.com/libgd/libgd/issues/301>.
------------------------------------------------------------------------
[2016-03-31 11:37:35] mplomer at gmx dot de
For proposed fix and further info/discussion, see bug #53504
------------------------------------------------------------------------
[2015-05-17 16:17:32] davehampson12 at gmail dot com
Same reason as the original reporter - I need to calculate the bounding box dimensions of text and
this bug doesn't help :)
------------------------------------------------------------------------
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=64614
--
Edit this bug report at https://bugs.php.net/bug.php?id=64614&edit=1
Thread (10 messages)