Merge pull request #835 from marcus905/master

Bugfix #759, stampa documenti e dimensionamento testo in presenza di caratteri speciali
This commit is contained in:
Luca 2020-06-16 10:49:49 +02:00 committed by GitHub
commit b6e1311963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -443,7 +443,6 @@ class Prints
// Instanziamento dell'oggetto mPDF
$mpdf = new \Mpdf\Mpdf([
'mode' => 'c',
'format' => $settings['format'],
'orientation' => strtoupper($settings['orientation']) == 'L' ? 'L' : 'P',
'font-size' => $settings['font-size'],
@ -451,7 +450,7 @@ class Prints
'margin_right' => $settings['margins']['right'],
'setAutoBottomMargin' => 'stretch',
'setAutoTopMargin' => 'stretch',
'default_font' => 'helvetica',
'default_font' => 'dejavusanscondensed',
// Abilitazione per lo standard PDF/A
//'PDFA' => true,