sai*_*729 4 php pdf-generation character-encoding fpdf
在尝试打印希腊字符时,'?'我在pdf上打印了以下字符'φ'
我将把这个留给下一个.
FPDF有自己的指南,用于导入特定编码的新字体.步骤是:
$pdf->AddFont('Courier New', '', 'Courier New.php');$pdf->SetFont('Courier New', '', 20);$text = iconv('UTF-8', 'ISO-8859-7', $text);$pdf->Write(20,$text);