php.net |  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
Votes:1
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:
MUST BE VALID
Solve the problem:
29 + 26 = ?
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 ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-13 22:48 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-26 19:57 UTC] sniper@php.net
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: Thu Apr 25 17:01:29 2024 UTC