Bug #49815 [Com]: Problem with imagettfbbox

From: Date: Thu, 31 Mar 2016 11:38:17 +0000
Subject: Bug #49815 [Com]: Problem with imagettfbbox
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200261@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=49815&edit=1

 ID:                 49815
 Comment by:         mplomer at gmx dot de
 Reported by:        christian dot roy at orange dot fr
 Summary:            Problem with imagettfbbox
 Status:             Assigned
 Type:               Bug
 Package:            GD related
 Operating System:   Linux
 PHP Version:        5.2.11
 Assigned To:        tabe
 Block user comment: N
 Private report:     N

 New Comment:

For proposed fix and further info/discussion, see bug #53504


Previous Comments:
------------------------------------------------------------------------
[2010-10-31 19:55:31] php at zunderer dot de

It seems like this Bug is still present, both of the Testscripts 
provided by rasmus here and by ch+php in Bug #49600 produce 
correct results in PHP 5.0.5 and 5.2.5 but wrong results 
(x-coord of boundingbox shifted to left or right depending on 
Font and letter) on PHP 5.2.11 and 5.3.3

------------------------------------------------------------------------
[2010-01-22 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2010-01-14 05:00:49] tabe@php.net

s/#45600/#49600/

------------------------------------------------------------------------
[2010-01-14 04:59:07] tabe@php.net

rasmus, your observation is essential to understand this bug.
fix for bug#45600 also seems to work well.

With PHP_5_2 or trunk:

bbox returned rectangle for a : -1  *  2  *  38  *  2  *  38  *  -42  *  -1  *  -42

bbox returned rectangle for k : -1  *  -1  *  42  *  -1  *  42  *  -62  *  -1  *  -62

bbox returned rectangle for j : -1  *  17  *  23  *  17  *  23  *  -57  *  -1  *  -57

------------------------------------------------------------------------
[2009-12-23 17:49:24] christian dot roy at orange dot fr

Hi,

Did you progress on this issue whicj sticks me to PHP 4.

Thanks for your answer.

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


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=49815


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


Thread (14 messages)

« previous php.bugs (#200261) next »