From:             [EMAIL PROTECTED]
Operating system: 
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  inaccuracy on function.imagettftext

Description:
------------
>From the imagettftext documentation:

  .. This example script will produce a black GIF 400x30 pixels..

  header("Content-type: image/jpeg");
  $im = imagecreate(400,30);
  $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, $black, "/path/arial.ttf",
  "Testing... Omega: Ω");
  imagejpeg($im);
  imagedestroy($im);

Expected result:
----------------
I guess it should say: "This example script will produce a black JPEG
image 400x30 pixels.."

Thanks


-- 
Edit bug report at http://bugs.php.net/?id=25105&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25105&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25105&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25105&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25105&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25105&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25105&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25105&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25105&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25105&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25105&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25105&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25105&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25105&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25105&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25105&r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to