替换默认字体,英文就能正常

This commit is contained in:
wlx 2011-11-03 03:56:02 +00:00
parent fcd025ba77
commit a04ac28a55
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class PDF_Unicode extends PDF_Chinese
$this->AddCIDFonts($family,$name,$cw,$CMap,$registry); $this->AddCIDFonts($family,$name,$cw,$CMap,$registry);
} }
function AddUniGBhwFont ($family='uGB', $name='AdobeSongStd-Light') function AddUniGBhwFont ($family='uGB', $name='AdobeSongStd-Light-Acro')
{ {
//Add Unicode font with half-witdh Latin, character code must be utf16be //Add Unicode font with half-witdh Latin, character code must be utf16be
for($i=32;$i<=126;$i++) for($i=32;$i<=126;$i++)