|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20225 a pdflib bug
Submitted: 2002-11-03 04:26 UTC Modified: 2002-11-26 19:57 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: xxxrobot at yeah dot net Assigned:
Status: No Feedback Package: *PDF functions
PHP Version: 4.2.2 OS:
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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
47 + 37 = ?
Subscribe to this entry?

 [2002-11-03 04:26 UTC] xxxrobot at yeah dot net
$font = PDF_findfont($p, "STSong-Light", "GB-EUC-H", 0);
PDF_setfont($p, $font, 18.0);
 $STR=pdf_stringwidth($p, "?½ᵥ",$font,18.0);
PDF_continue_text($p, $STR);

when i use the CHINESE ENCODING WITH pdflib,the pdf_stringwidth Function return 0.

pls tell me  why ?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-13 22:48 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-11-26 19:57 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 17:01:31 2024 UTC