Skip to content
Snippets Groups Projects
Commit 4eb16937 authored by João Ventura's avatar João Ventura
Browse files

Fix #441770: Footer was placed at top of page in TCPDF => 4.6

parent d9a43552
Branches
Tags
No related merge requests found
......@@ -509,7 +509,7 @@ function theme_print_pdf_tcpdf_footer(&$pdf, &$html, $font) {
*/
function theme_print_pdf_tcpdf_footer2(&$pdf) {
//Position at 1.5 cm from bottom
$pdf->writeHTMLCell(0, 15, 15, 0, $pdf->footer, 0, 0, 0, TRUE, '');
$pdf->writeHTMLCell(0, 15, 15, -10, $pdf->footer, 0, 0, 0, TRUE, '');
$ormargins = $pdf->getOriginalMargins();
$pagenumtxt = t('Page !n of !total', array('!n' => $pdf->PageNo(), '!total' => $pdf->getAliasNbPages()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment