#20225 [NEW]: a pdflib bug
| From: | xxxrobot at yeah dot net | Date: | Sun, 03 Nov 2002 10:26:04 +0000 |
| Subject: | #20225 [NEW]: a pdflib bug | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-23975@lists.php.net to get a copy of this message | ||
From: xxxrobot@yeah.net
Operating system:
PHP version: 4.2.2
PHP Bug Type: *PDF functions
Bug description: a pdflib bug
<?
$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 ?
--
Edit bug report at http://bugs.php.net/?id=20225&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20225&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20225&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20225&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20225&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20225&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20225&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20225&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20225&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20225&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20225&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20225&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20225&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20225&r=isapi