From 710e5afe08cf477e68628f1d4b4dd8a9295df4cb Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 23 Jan 2019 17:36:05 +0100 Subject: [PATCH] :fire: Remove iTopPDF::SetFontSize as there is TCPDF::SetFontSize --- application/pdfpage.class.inc.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/application/pdfpage.class.inc.php b/application/pdfpage.class.inc.php index 28c57f801..2e5399362 100644 --- a/application/pdfpage.class.inc.php +++ b/application/pdfpage.class.inc.php @@ -31,21 +31,6 @@ class iTopPDF extends TCPDF $this->SetFont($siTopFont, $style, $size, $fontfile, $subset, $out); } - /** - * Shortcut to set only the font size - * - * @param int $size - * - * @uses \TCPDF::getFontStyle() - * @uses \iTopPDF::SetFontParams() - * @since 2.7 - */ - public function SetFontSize($size) - { - $style = $this->getFontStyle(); - $this->SetFontParams($style, $size); - } - public function SetDocumentTitle($sDocumentTitle) { $this->sDocumentTitle = $sDocumentTitle;