mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-22 21:05:10 +00:00
5.9.059
This commit is contained in:
parent
ea49e80f4b
commit
9050b2421e
@ -4011,7 +4011,7 @@ class TCPDF {
|
|||||||
public function Header() {
|
public function Header() {
|
||||||
if ($this->header_xobjid < 0) {
|
if ($this->header_xobjid < 0) {
|
||||||
// start a new XObject Template
|
// start a new XObject Template
|
||||||
$this->header_xobjid = $this->startTemplate($this->w, $this->tMargin - $this->header_margin);
|
$this->header_xobjid = $this->startTemplate($this->w, $this->tMargin);
|
||||||
$headerfont = $this->getHeaderFont();
|
$headerfont = $this->getHeaderFont();
|
||||||
$headerdata = $this->getHeaderData();
|
$headerdata = $this->getHeaderData();
|
||||||
$this->y = $this->header_margin;
|
$this->y = $this->header_margin;
|
||||||
@ -4051,8 +4051,8 @@ class TCPDF {
|
|||||||
$this->SetX($header_x);
|
$this->SetX($header_x);
|
||||||
$this->MultiCell($cw, $cell_height, $headerdata['string'], 0, '', 0, 1, '', '', true, 0, false);
|
$this->MultiCell($cw, $cell_height, $headerdata['string'], 0, '', 0, 1, '', '', true, 0, false);
|
||||||
// print an ending header line
|
// print an ending header line
|
||||||
$this->SetLineStyle(array('width' => 0.85 / $this->getScaleFactor(), 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 0)));
|
$this->SetLineStyle(array('width' => 0.85 / $this->k, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 0)));
|
||||||
$this->SetY((2.835 / $this->getScaleFactor()) + max($imgy, $this->GetY()));
|
$this->SetY((2.835 / $this->k) + max($imgy, $this->y));
|
||||||
if ($this->rtl) {
|
if ($this->rtl) {
|
||||||
$this->SetX($this->original_rMargin);
|
$this->SetX($this->original_rMargin);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user