ID: 20225 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: *PDF functions PHP Version: 4.2.2 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2002-11-03 04:26:04] [EMAIL PROTECTED] <? $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 this bug report at http://bugs.php.net/?id=20225&edit=1