mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix parziale #111
Fix del problema segnalato nell'issue #111, attraverso l'impostazione della codifica di MPDF a utf-8.
This commit is contained in:
@@ -255,6 +255,8 @@ gulp.task('release', function () {
|
||||
'!./vendor/tecnickcom/tcpdf/fonts/*helvetica*',
|
||||
'./vendor/mpdf/mpdf/tmp/*',
|
||||
'./vendor/mpdf/mpdf/ttfonts/*',
|
||||
'!./vendor/mpdf/mpdf/ttfonts/DejaVuinfo.txt',
|
||||
'!./vendor/mpdf/mpdf/ttfonts/DejaVu*Condensed*',
|
||||
'./vendor/maximebf/debugbar/src/DebugBar/Resources/vendor/*',
|
||||
]);
|
||||
|
||||
|
||||
@@ -158,7 +158,7 @@ if (!$old_format) {
|
||||
|
||||
// Instanziamento dell'oggetto mPDF
|
||||
$mpdf = new \Mpdf\Mpdf([
|
||||
'mode' => 'c',
|
||||
'mode' => 'utf-8',
|
||||
'format' => $settings['format'],
|
||||
'orientation' => $settings['orientation'],
|
||||
'font-size' => $settings['font-size'],
|
||||
|
||||
Reference in New Issue
Block a user