Commit 4eb16937 authored by jcnventura's avatar jcnventura

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

parent d9a43552
......@@ -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()));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment