FPDF Big5 Font
fpdf的函式: function AddUniGBhwFont ($family='uGB', $name='AdobeSongStd-Light-Acro') { ....... } PS: 請記得採用 AdobeSongStd-Light-Acro, 這樣英文字的間距比較沒問題! 應用的程式: $this->AddUniGBhwFont('uGB'); $this->AddFont('uGB'); from : http://twpug.net/modules/newbb/viewtopic.php?topic_id=3026 ============= http://www.fpdf.org/phorum/read.php?f=1&i=5142&t=5142 ======= To print half-width English letters, add this method to the PDF_Chinese class: function AddBig5hwFont($family='Big5-hw') { for($i=32;$i<=126;$i++) $cw[chr($i)]=500; $name='MSungStd-Light-Acro'; $CMap='ETen-B5-H'; $registry=array('ordering'=>'CNS1','supplement'=>0); $this->AddCIDFont($family,'',$name,$cw,$CMap,$registry); $this->AddCIDFont($family,'B',$name.',Bold',$cw,$CMap,$registry); $this->AddCIDFont($family,'I',$name.',Italic',$cw,$CMap,$registry); $this->AddCIDFont(