|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: xxxrobot at yeah dot net
New email:
PHP Version: OS:


 [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: Fri May 24 20:01:29 2024 UTC