note 75408 added to function.imageloadfont

From: Date: Mon, 28 May 2007 14:39:49 +0000
Subject: note 75408 added to function.imageloadfont
Groups: php.notes 
Request: Send a blank email to php-notes+get-126981@lists.php.net to get a copy of this message
Example 965 should be: <?php header("Content-type: image/png"); $im = imagecreatetruecolor(50, 20); $black = imagecolorallocate($im, 0, 0, 0); $white = imagecolorallocate($im, 255, 255, 255); imagefilledrectangle($im, 1, 1, 48, 18, $white); $font = imageloadfont("04b.gdf"); imagestring($im, $font, 0, 0, "Hello", $black); imagepng($im); ?> ... if it has to draw a black border around the Image. ---- Server IP: 86.58.145.50 Probable Submitter: 80.62.89.246 ---- Manual Page -- http://www.php.net/manual/en/function.imageloadfont.php Edit -- https://master.php.net/note/edit/75408 Del: integrated -- https://master.php.net/note/delete/75408/integrated Del: useless -- https://master.php.net/note/delete/75408/useless Del: bad code -- https://master.php.net/note/delete/75408/bad+code Del: spam -- https://master.php.net/note/delete/75408/spam Del: non-english -- https://master.php.net/note/delete/75408/non-english Del: in docs -- https://master.php.net/note/delete/75408/in+docs Del: other reasons-- https://master.php.net/note/delete/75408 Reject -- https://master.php.net/note/reject/75408 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126981) next »