From 18ee7b5f6657c8fc2abf60d1afe1a9d8f48f64b9 Mon Sep 17 00:00:00 2001
From: Prasad <prasad@vtiger.com>
Date: Fri, 7 Oct 2022 17:56:32 +0530
Subject: [PATCH] Fixed: Function signautre of Vtiger_PDF_TCPDF

---
 vtlib/Vtiger/PDF/TCPDF.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vtlib/Vtiger/PDF/TCPDF.php b/vtlib/Vtiger/PDF/TCPDF.php
index 0033cef9f..43a7aab9a 100644
--- a/vtlib/Vtiger/PDF/TCPDF.php
+++ b/vtlib/Vtiger/PDF/TCPDF.php
@@ -65,7 +65,7 @@ class Vtiger_PDF_TCPDF extends TCPDF {
 		return ($lines * ($this->FontSize * $this->cell_height_ratio)) + 2;
 	}
 
-	function SetFont($family, $style='', $size='') {
+	function SetFont($family, $style='', $size=0, $fontfile='') {
 		if($family == '') {
 			$family = $this->FontFamily;
 		}
-- 
GitLab