cvs: phpdoc /en/reference/image/functions imagettftext.xml

From: Date: Wed, 22 Jan 2003 12:11:52 +0000
Subject: cvs: phpdoc /en/reference/image/functions imagettftext.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351182@lists.php.net to get a copy of this message
dams Wed Jan 22 07:11:52 2003 EDT Modified files: /phpdoc/en/reference/image/functions imagettftext.xml Log: black is black! Index: phpdoc/en/reference/image/functions/imagettftext.xml diff -u phpdoc/en/reference/image/functions/imagettftext.xml:1.4 phpdoc/en/reference/image/functions/imagettftext.xml:1.5 --- phpdoc/en/reference/image/functions/imagettftext.xml:1.4 Wed Jan 22 07:06:29 2003 +++ phpdoc/en/reference/image/functions/imagettftext.xml Wed Jan 22 07:11:52 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagettftext"> <refnamediv> @@ -77,11 +77,11 @@ <?php header("Content-type: image/jpeg"); $im = imagecreate(400,30); - $black = imagecolorallocate($im, 255,255,255); - $white = imagecolorallocate($im, 0,0,0); + $white = imagecolorallocate($im, 255,255,255); + $black = imagecolorallocate($im, 0,0,0); // Replace path by your own font path - imagettftext($im, 20, 0, 10, 20, $white, "/path/arial.ttf", + imagettftext($im, 20, 0, 10, 20, $black, "/path/arial.ttf", "Testing... Omega: &amp;#937;"); imagejpeg($im); imagedestroy($im);

« previous php.doc (#969351182) next »