change font

This commit is contained in:
wlx 2014-03-03 07:58:43 +00:00
parent 9578c74bb0
commit 8d529553e2
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ class ApplicantPDF extends FPDI
$tplidx = $this->importPage(1);
$this->addPage();
$this->useTemplate($tplidx);
$this->SetFont('ugb','',$this->fontsize);
$this->SetFont('Times','',$this->fontsize);
$this->setXY(62,41);
$this->Write($this->fontsize,$this->data['realname']);
$this->SetXY(34,55);
@ -79,13 +79,13 @@ class ApplicantPDF extends FPDI
function addRef($mds)
{
$this->addPage();
$this->SetFont('','B',20);
$this->SetFont('Times','B',20);
$this->ln();
$this->Cell(0,0,'Attachment: Data Citation',0,2,'C');
$this->setY(30);
foreach($mds as $i=>$md)
{
$this->SetFont('ugb','',12);
$this->SetFont('Times','',12);
$this->Write(5,($i+1).'. '.$md['title']);
$this->ln();
if ($md['reference'])
@ -115,7 +115,7 @@ class ApplicantPDF extends FPDI
}
if ($md['suppinfo'] || $md['fund'])
{
$this->SetFont('','I',10);
$this->SetFont('Times','I',10);
$p=(!empty($md['fund']))?$md['fund']:$md['suppinfo'];
$this->Write(5,'[Funding] '.$p);
$this->ln();

Binary file not shown.