From 77ad710d08eed759b9404e069e8dd6c1ea9f802f Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Fri, 14 Oct 2011 20:17:25 +0530 Subject: [PATCH] bug #3423725 [pdf] Broken PDF file when exporting database to PDF --- ChangeLog | 1 + libraries/export/pdf.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1cc2e3c7d..a79eebfc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog - bug [view] View renaming did not work - bug [navi] Wrong icon for view (MySQL 5.5) - bug #3420229 [doc] Missing documentation section +- bug #3423725 [pdf] Broken PDF file when exporting database to PDF 3.4.6.0 (not yet released) - patch #3404173 InnoDB comment display with tooltips/aliases diff --git a/libraries/export/pdf.php b/libraries/export/pdf.php index 431df0da9..786b1d1c4 100644 --- a/libraries/export/pdf.php +++ b/libraries/export/pdf.php @@ -129,7 +129,7 @@ class PMA_PDF extends TCPDF if (!isset($this->footerset[$this->page])) { $this->SetY(-15); //Page number - $this->setFooterFont(PMA_PDF_FONT, '', 14); + $this->SetFont(PMA_PDF_FONT, '', 14); $this->Cell(0, 6, __('Page number:') . ' ' . $this->getAliasNumPage() . '/' . $this->getAliasNbPages(), 'T', 0, 'C'); // set footerset