- Fix the position of the image on the label

- Change the fair title font to 13pt (from 14pt), it was spilling over onto the
  second line for many fairs  (Waterloo-Wellington, Greater Vancouver, Quinte,
  Fraser Valley)  Actually, the size of that should probably be proportinal to
  the size of the label.. that'll come later...
This commit is contained in:
dave 2007-03-20 06:27:04 +00:00
parent 77eee9dcdd
commit a67e8b8fb5

View File

@ -369,7 +369,6 @@ class lpdf
$desired_width = ($this->label_width * $wp) / 100;
$desired_height = ($this->label_effective_height * $hp) / 100;
/* Pick a font */
if(in_array('bold', $options)) {
$font = $this->headerfont;
@ -533,7 +532,7 @@ class lpdf
//now place the logo image in the top-left-ish
pdf_place_image($this->pdf,$this->logoimage,
$this->loc($this->label_current_xpos+0.05),
$this->loc($this->label_current_ypos-0.50),0.2);
$this->loc($this->label_current_ypos-0.65),0.2);
}
$this->label_effective_height = $this->label_height;
@ -542,7 +541,7 @@ class lpdf
$this->label_current_ypos -= $height['title'];
$this->label_effective_height -= $height['title'];
pdf_setfont($this->pdf,$this->headerfont,14);
pdf_setfont($this->pdf,$this->headerfont,13);
pdf_show_boxed($this->pdf,$this->page_header,
$this->loc($this->label_current_xpos+0.65),
$this->loc($this->label_current_ypos-0.15),