Skip to content
Snippets Groups Projects
Commit c38f0456 authored by aydreeihn's avatar aydreeihn
Browse files

MPDF Issues:

1. Task Exports: This commit fixes the contructor for printing Tasks using MPDF

2. PDF Formatting: This commit fixes an issue where the header of each thread entry did not stretch across the page correctly. This was an unintentional side effect of trying to fix the way HTML tables printed in PDFs.
parent 0cadc04c
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ class Task2PDF extends mPDFWithLocalImages {
$this->task = $task;
$this->options = $options;
parent::__construct('', $this->options['psize']);
parent::__construct(['mode' => 'utf-8', 'format' => $psize, 'tempDir'=>sys_get_temp_dir()]);
$this->_print();
}
......
......@@ -262,7 +262,7 @@ class ConfigVariables
// Reduce memory usage processing tables (but with increased processing time)
'packTableData' => false,
'ignore_table_percents' => true,
'ignore_table_percents' => false,
'ignore_table_widths' => true,
// If table width set > page width, force resizing but keep relative sizes
// Also forces respect of cell widths set by %
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment