PHP :: Bug #48801 :: Problem with imagettfbbox
| Bug #48801 | Problem with imagettfbbox | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2009-07-05 06:12 UTC | Modified: | 2009-07-27 15:15 UTC |
|
||||||||||
| From: | dgdd at wanadoo dot fr | Assigned: | ||||||||||||
| Status: | Closed | Package: | GD related | |||||||||||
| PHP Version: | 5.3.0 | OS: | Windows XP | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2009-07-05 06:12 UTC] dgdd at wanadoo dot fr
Description: ------------ delivered value problem Reproduce code: --------------- $dimensions_texte = imagettfbbox( 50, 0, "SCRIPTIN.TTF", "test"); echo $dimensions_texte[0]." * "; echo $dimensions_texte[1]." * "; echo $dimensions_texte[2]." * "; echo $dimensions_texte[3]." * "; echo $dimensions_texte[4]." * "; echo $dimensions_texte[5]." * "; echo $dimensions_texte[6]." * "; echo $dimensions_texte[7]."<br>"; Expected result: ---------------- Width PHP 5.2.8 : -1 * 36 * 98 * 36 * 98 * -61 * -1 * -61 <<<< PHP 5.2.8 Actual result: -------------- Width PHP 5.3.0 -1 * -1 * 104 * -1 * 104 * -100 * -1 * -100 <<<< PHP 5.3.0
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2009-07-09 09:47 UTC] info at classic-emaille dot de
[2009-07-23 11:16 UTC] john dot peterson3 at hotmail dot com
[2009-07-23 12:22 UTC] dgdd at wanadoo dot fr
[2009-07-27 15:15 UTC] tabe@php.net
[2013-04-14 16:23 UTC] pbxanime at gmail dot com