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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pete at byways dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 10:01:28 2025 UTC