From:             lapo at lapo dot it
Operating system: FreeBSD 4.8
PHP version:      4.3.2
PHP Bug Type:     Documentation problem
Bug description:  imagettftext and imagefttext

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 bug report at http://bugs.php.net/?id=24372&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24372&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24372&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24372&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24372&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24372&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24372&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24372&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24372&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24372&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24372&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24372&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24372&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24372&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24372&r=gnused


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

Reply via email to