#21560 [Opn->Fbk]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
From: iliaa@php.net Date: Fri, 10 Jan 2003 02:11:36 +0000 Subject: #21560 [Opn->Fbk]: imagettfbbox() returns different values in 4.3.0 and 4.2.1 References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-29649@lists.php.net to get a copy of this message
ID: 21560 Updated by: iliaa@php.net Reported By: ljpersson@hotmail.com -Status: Open +Status: Feedback Bug Type: GD related Operating System: SusE 8.0 PHP Version: 4.3.0 New Comment: Try non-bundled gd 2.0.9 and see if you get the same results as the ones you've got with bundled GD library. I suspect that the behaviour of GD between 2.0.1 and later versions had changed. Previous Comments: ------------------------------------------------------------------------ [2003-01-09 18:59:27] ljpersson@hotmail.com For the given string string "Demonstration of different\ntext of two lines" (ArialTTF font font 90 degrees rotation containing two lines separated by a single "\n".) The imagettfbbox() returns different value arrays in PHP 4.2.1 using GD 2.01 and PHP 4.3.0 using builtin GD 2.08+ (You get the same difference for 4.2.1 by using GD 2.08 so the problem must be in GD 2.08) For GD 2.01 it returns (29,-1,29,-279,-20,-279,-20,-1) For GD 2.08+ it returns (29,18,29,-277,-21,-277,-21,18) ------------------------------------------------------------------------ [2003-01-09 18:49:49] ljpersson@hotmail.com For the given string string "Demonstration of different\ntext of two lines" (ArialTTF font font 90 degrees rotation containing two lines separated by a single "\n".) The imagettfbbox() returns different value arrays in PHP 4.2.1 using GD 2.01 and PHP 4.3.0 using builtin GD 2.08+ (You get the same difference for 4.2.1 by using GD 2.08 so the problem must be in GD 2.08) For GD 2.01 it returns (-29,18,29,-277,-21,-277,-21,18) For GD 2.08+ it returns (-29,18,29,-279,-20,-279,-20,-1) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21560&edit=1
Thread (21 messages)
- #21560 [Opn]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Opn->Fbk]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Fbk->NoF]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [NoF->Opn]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Opn]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Opn->Fbk]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Com]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Fbk->Opn]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Opn->Ver]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Ver]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Ver->Asn]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Asn]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Asn]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Asn->Sus]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Sus->Asn]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Com]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Com]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Com]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Asn->WFx]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
- #21560 [Com]: imagettfbbox() returns different values in 4.3.0 and 4.2.1
| « previous | php.bugs (#29649) | next » |
|---|