Changeset 454

Show
Ignore:
Timestamp:
11/13/08 23:34:40 (2 months ago)
Author:
armin
Message:

patch 2 for legend alignment with new version of TCPDF (3.x)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pmapper/trunk/incphp/print/pdfprint.php

    r453 r454  
    211211        $this->SetFont($this->defaultFontType, "B", $this->defaultFontSize); 
    212212        $scaleStr = $prString . " 1: $prScale"; 
    213         $this->SetXY($this->xminM + 6, $this->botLineY - 25); 
     213        $this->SetXY($this->xminM + 6, $this->botLineY - 30); 
    214214        $this->Cell(50, 0, $scaleStr); 
    215215    } 
     
    328328                        if ($this->GetStringWidth($clsStr) >= $mcellW) {   // test if string is wider than cell box 
    329329                            $mcellH = 10; 
    330                             $ydiff = 0
     330                            $ydiff = -1
    331331                            $yadd = 1; 
    332332                        } else { 
     
    357357     
    358358                        // if Y too big add new PDF page and reset Y to beginning of document 
    359                         if ($y > (($this->ymaxM) - 30)) { 
     359                        if ($y > (($this->ymaxM) - 40)) { 
    360360                            $this->AddPage("P"); 
    361361                            $this->printTitle("");