php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #10586 Wrong parameters in docs for pdf_stringwidth
Submitted: 2001-05-01 14:47 UTC Modified: 2001-05-21 21:30 UTC
From: pete at byways dot org Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.5 OS: N/A
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
48 - 31 = ?
Subscribe to this entry?

 
 [2001-05-01 14:47 UTC] pete at byways dot org
The documentation for pdf_stringwidth has incorrect parameters.  It should be something like this:

double pdf_stringwidth (int pdf object, [string text, int font, float size])

font is a PDF font resource returned by pdf_findfont.  size is the size of the font in points.

If font and size are not specified, the current font and size are used.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-21 21:30 UTC] danbeck@php.net
Corrected in latest phpdoc cvs.

Thanks for the bug report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 22:01:33 2024 UTC