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
 [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: Thu Apr 25 10:01:29 2024 UTC