note 112727 added to imagickdraw.annotation

From: Date: Wed, 17 Jul 2013 10:31:19 +0000
Subject: note 112727 added to imagickdraw.annotation
Groups: php.notes 
Request: Send a blank email to php-notes+get-195652@lists.php.net to get a copy of this message
In some cases the (custom) font can be truncated on the side parts, especially the handwritten ones. To improve the above note from Anonymous on "how to create a header image", I've changed this part of the code: <?php /* Create text */ $draw->annotation( $metrics['boundingBox']['y2'], $metrics['ascender'], $text ); /* Create image */ $image->newImage( $metrics['textWidth'] + $metrics['boundingBox']['y2'], $metrics['textHeight'], $background ); ?> ---- Server IP: 69.147.83.199 Probable Submitter: 92.147.80.187 ---- Manual Page -- http://php.net/manual/en/imagickdraw.annotation.php Edit -- https://master.php.net/note/edit/112727 Del: integrated -- https://master.php.net/note/delete/112727/integrated Del: useless -- https://master.php.net/note/delete/112727/useless Del: bad code -- https://master.php.net/note/delete/112727/bad+code Del: spam -- https://master.php.net/note/delete/112727/spam Del: non-english -- https://master.php.net/note/delete/112727/non-english Del: in docs -- https://master.php.net/note/delete/112727/in+docs Del: other reasons-- https://master.php.net/note/delete/112727 Reject -- https://master.php.net/note/reject/112727 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195652) next »