note 82991 added to function.imagepsbbox

From: Date: Mon, 05 May 2008 16:32:30 +0000
Subject: note 82991 added to function.imagepsbbox
Groups: php.notes 
Request: Send a blank email to php-notes+get-139074@lists.php.net to get a copy of this message
in my code below, there is an error! replace $w += abs($bb[3])-abs($bb[1]); // accumulate width with $w += abs($bb[2])-abs($bb[0]); // accumulate width also after $bb = imagepsbbox($c, $font, $size); // calculate width you can add this line because spaces make odd values... if ($c == ' ' ) $bb = imagepsbbox('i', $font, $size); ---- Server IP: 217.160.72.57 Probable Submitter: 62.206.116.182 ---- Manual Page -- http://www.php.net/manual/en/function.imagepsbbox.php Edit -- https://master.php.net/note/edit/82991 Del: integrated -- https://master.php.net/note/delete/82991/integrated Del: useless -- https://master.php.net/note/delete/82991/useless Del: bad code -- https://master.php.net/note/delete/82991/bad+code Del: spam -- https://master.php.net/note/delete/82991/spam Del: non-english -- https://master.php.net/note/delete/82991/non-english Del: in docs -- https://master.php.net/note/delete/82991/in+docs Del: other reasons-- https://master.php.net/note/delete/82991 Reject -- https://master.php.net/note/reject/82991 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#139074) next »