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: &#937;"); imagejpeg($im); imagedestroy($im);
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php