make the nametag fair name height be big enough for two rows

This commit is contained in:
james 2005-04-22 19:28:47 +00:00
parent 65c4600bec
commit 53e8ca4f93

View File

@ -285,17 +285,16 @@ class lpdf
$this->loc($this->nametag_current_ypos-0.50),0.2); $this->loc($this->nametag_current_ypos-0.50),0.2);
} }
$height['title']=0.25; $height['title']=0.50;
$this->nametag_current_ypos-=$height['title']; $this->nametag_current_ypos-=$height['title'];
pdf_setfont($this->pdf,$this->headerfont,14); pdf_setfont($this->pdf,$this->headerfont,14);
pdf_show_boxed($this->pdf,$this->page_header, pdf_show_boxed($this->pdf,$this->page_header,
$this->loc($this->nametag_current_xpos+0.50), $this->loc($this->nametag_current_xpos+0.65),
$this->loc($this->nametag_current_ypos), $this->loc($this->nametag_current_ypos),
$this->loc($this->nametag_width-0.50), $this->loc($this->nametag_width-0.70),
$this->loc($height['title']), $this->loc($height['title']),
"center", "center",
null); null);
$this->nametag_current_ypos-=$height['title'];
pdf_setfont($this->pdf,$this->normalfont,10); pdf_setfont($this->pdf,$this->normalfont,10);