From:             dgdd at wanadoo dot fr
Operating system: Windows XP
PHP version:      5.3.0
PHP Bug Type:     Unknown/Other Function
Bug description:  Problem with imagettfbbox

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

-- 
Edit bug report at http://bugs.php.net/?id=48801&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48801&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48801&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48801&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48801&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48801&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48801&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48801&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48801&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48801&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48801&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48801&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48801&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48801&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48801&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48801&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48801&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48801&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48801&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48801&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48801&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48801&r=mysqlcfg

Reply via email to