ID: 21560 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: GD related Operating System: SusE 8.0 PHP Version: 4.3.0 New Comment:
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) Previous Comments: ------------------------------------------------------------------------ [2003-01-09 18:49:49] [EMAIL PROTECTED] 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