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
 [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

Pull Requests

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: Mon Dec 30 14:01:28 2024 UTC