#45848 [NEW]: imagettfbbox has incorrect information for size parameter

From: Date: Mon, 18 Aug 2008 08:17:31 +0000
Subject: #45848 [NEW]: imagettfbbox has incorrect information for size parameter
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1107@lists.php.net to get a copy of this message
From: cory dot mawhorter at ephective dot com Operating system: na PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: imagettfbbox has incorrect information for size parameter Description: ------------ php.net/imagettfbbox states that the size parameter should be "The font size in pixels" but this doesn't seem to be true. I'm guessing imagettfbbox is identical to php.net/imagettftext in regards to the size parameter: "The font size. Depending on your version of GD, this should be specified as the pixel size (GD1) or point size (GD2). " Reproduce code: --------------- I can create if needed. -- Edit bug report at http://bugs.php.net/?id=45848&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45848&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45848&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45848&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45848&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45848&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45848&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45848&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45848&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45848&r=support Expected behavior: http://bugs.php.net/fix.php?id=45848&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45848&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45848&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45848&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45848&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45848&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45848&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45848&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45848&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45848&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45848&r=mysqlcfg

« previous php.doc.bugs (#1107) next »