note 58081 added to function.imagettftext

From: Date: Sun, 23 Oct 2005 19:28:08 +0000
Subject: note 58081 added to function.imagettftext
Groups: php.notes 
Request: Send a blank email to php-notes+get-97470@lists.php.net to get a copy of this message
This function will make your text bold: <?php function drawboldtext($image, $size, $angle, $x_cord, $y_cord, $r, $g, $b, $fontfile, $text) { $color = ImageColorAllocate($image, $r, $g, $b); $_x = array(1, 0, 1, 0, -1, -1, 1, 0, -1); $_y = array(0, -1, -1, 0, 0, -1, 1, 1, 1); for($n=0;$n<=8;$n++) { ImageTTFText($image, $size, $angle, $x_cord+$_x[$n], $y_cord+$_y[$n], $color, $fontfile, $text); } } ?> ---- Manual Page -- http://www.php.net/manual/en/function.imagettftext.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+58081 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58081&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58081&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58081&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58081&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58081&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58081&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58081&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+58081&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#97470) next »