修复pdf不显示文字问题

This commit is contained in:
wlx 2014-05-15 12:05:47 +00:00
parent 13f64c4601
commit 293598f083
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class ApplicantPDF extends FPDI
function __construct() function __construct()
{ {
parent::__construct(); parent::__construct();
$this->AddUniGBhwFont('ugb','AdobeSongStd-Light-Acro'); //$this->AddUniGBhwFont('ugb','AdobeSongStd-Light-Acro');
} }
function drawWestdc() function drawWestdc()
{ {
@ -24,7 +24,7 @@ class ApplicantPDF extends FPDI
$tplidx = $this->importPage(1); $tplidx = $this->importPage(1);
$this->addPage(); $this->addPage();
$this->useTemplate($tplidx); $this->useTemplate($tplidx);
$this->SetFont('Times','',$this->fontsize); $this->SetFont('Courier','',$this->fontsize);
$this->setXY(62,41); $this->setXY(62,41);
$this->Write($this->fontsize,$this->data['realname']); $this->Write($this->fontsize,$this->data['realname']);
$this->SetXY(34,55); $this->SetXY(34,55);