|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-10-13 18:41 UTC] orel at melix dot net
Description:
------------
imagettfbbox returns bogus values:
Array
(
[0] => 0
[1] => 3
[2] => -2147483648
[3] => 3
[4] => -2147483648
[5] => -14
[6] => 0
[7] => -14
)
5.2.0-8+etch13 is ok
5.2.11-1 is ko
Reproduce code:
---------------
print_r(imagettfbbox(12, 0,"/home/somewhere/verdanab.ttf", "Recipient responses"));
Expected result:
----------------
Array
(
[0] => 0
[1] => 3
[2] => 181
[3] => 3
[4] => 181
[5] => -14
[6] => 0
[7] => -14
)
Actual result:
--------------
Array
(
[0] => 0
[1] => 3
[2] => -2147483648
[3] => 3
[4] => -2147483648
[5] => -14
[6] => 0
[7] => -14
)
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 15:00:01 2025 UTC |
It is ok with PHP 5.3.2-dev with this configure line ./configure --with-gd --enable-gd-native-ttf --with-freetype-dir Result is Array ( [0] => -1 [1] => 3 [2] => 173 [3] => 3 [4] => 173 [5] => -14 [6] => -1 [7] => -14 )