At the momet, PDF export sizes are "letter". In European countries, we mostly use A4. For this, I have edited the source code. However, having a setting would be more convenient to handle this:
modules\items\actions\export_template.php
Code: Select all
$dompdf->set_paper('letter', 'landscape');
Code: Select all
$dompdf->set_paper('A4', 'portrait');
Code: Select all
if($template_info['page_orientation']=='landscape')
{
$dompdf->set_paper('A4', 'landscape');
}
if($template_info['page_orientation']=='portrait')
{
$dompdf->set_paper('A4', 'portrait');
}
For me this has no priority, I can change the code myself, but perhaps it isn't much of a hassle to include it
Kind regards