🎨 PDF : new helper method to set only font weight and size

This commit is contained in:
Pierre Goiffon
2019-01-02 14:58:57 +01:00
parent bdedd83368
commit 5723e9a77e
4 changed files with 29 additions and 9 deletions

View File

@@ -2063,7 +2063,7 @@ EOF
}
$oPage->get_tcpdf()->AddPage();
$oPage->get_tcpdf()->SetFont(iTopPDF::GetPdfFont(), '', 10, '', true); // Reset the font size to its default
$oPage->get_tcpdf()->SetFontParams('', 10); // Reset the font size to its default
$oPage->add('<div class="page_header"><h1>'.Dict::S('UI:RelationshipList').'</h1></div>');
$iLoopTimeLimit = MetaModel::GetConfig()->Get('max_execution_time_per_loop');
foreach($aResults as $sListClass => $aObjects)