From: [EMAIL PROTECTED] Operating system: SusE 8.0 PHP version: 4.3.0 PHP Bug Type: GD related Bug description: imagettfbbox() returns different values in 4.3.0 and 4.2.1
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 bug report at http://bugs.php.net/?id=21560&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21560&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21560&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21560&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21560&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21560&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21560&r=support Expected behavior: http://bugs.php.net/fix.php?id=21560&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21560&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21560&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21560&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21560&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21560&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21560&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21560&r=gnused