diff --git a/vtlib/Vtiger/PDF/TCPDF.php b/vtlib/Vtiger/PDF/TCPDF.php
index 0033cef9fb71fa2bdf75f4cf39a5e1f045addee8..43a7aab9a6aad4874378651a009ba14638a2ca83 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;
 		}