修复pdf不显示文字问题
This commit is contained in:
parent
13f64c4601
commit
293598f083
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue