Skip to content
Snippets Groups Projects
Unverified Commit 693a09ab authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4790 from aydreeihn/issue/mpdf-export

Issue: PDF printout
parents 33d69252 0cadc04c
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class mPDFWithLocalImages extends Mpdf {
if (!($file = @$images[strtolower($match[1])]))
return $match[0];
$key = "__attached_file_".$filenumber++;
$self->{$key} = $file->getData();
$self->imageVars[$key] = $file->getData();
return 'var:'.$key;
},
$html
......
......@@ -262,8 +262,8 @@ class ConfigVariables
// Reduce memory usage processing tables (but with increased processing time)
'packTableData' => false,
'ignore_table_percents' => false,
'ignore_table_widths' => false,
'ignore_table_percents' => true,
'ignore_table_widths' => true,
// If table width set > page width, force resizing but keep relative sizes
// Also forces respect of cell widths set by %
'keep_table_proportions' => true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment