ID:               24372
 User updated by:  lapo at lapo dot it
 Reported By:      lapo at lapo dot it
-Status:           Bogus
+Status:           Open
 Bug Type:         Documentation problem
 Operating System: FreeBSD 4.8
 PHP Version:      4.3.2
 New Comment:

No, they are not.
Not on the website, at least:

http://it2.php.net/manual/it/function.imagettftext.php
array imagettftext ( resource image, int size, int angle, int x, int y,
int color, string fontfile, string text)

http://it2.php.net/manual/it/function.imagefttext.php
array imagefttext ( resource image, int size, int angle, int x, int y,
int col, string font_file, string text [, array extrainfo])


Previous Comments:
------------------------------------------------------------------------

[2004-07-05 12:12:11] [EMAIL PROTECTED]

docs are right!

------------------------------------------------------------------------

[2003-06-28 05:22:14] lapo at lapo dot it

Description:
------------
Both imagettftext and imagefttext contain at least one documentation
error:

  "int size, int angle" should be "double size, double angle"

as I read in ext/gd/gd.c around line 3080:

  convert_to_double_ex(PTSIZE);
  convert_to_double_ex(ANGLE);

Page about imagefttext has another error:

  [, array extrainfo]

but the function actualyl requires the last parameter to be present, it
isn't optional.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24372&edit=1

Reply via email to