1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-10 14:44:04 +01: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:
Thomas Zilio 2018-01-13 09:54:08 +01:00
parent fa5c640030
commit 0c0c5c613a
2 changed files with 3 additions and 1 deletions

View File

@ -255,6 +255,8 @@ gulp.task('release', function () {
'!./vendor/tecnickcom/tcpdf/fonts/*helvetica*', '!./vendor/tecnickcom/tcpdf/fonts/*helvetica*',
'./vendor/mpdf/mpdf/tmp/*', './vendor/mpdf/mpdf/tmp/*',
'./vendor/mpdf/mpdf/ttfonts/*', './vendor/mpdf/mpdf/ttfonts/*',
'!./vendor/mpdf/mpdf/ttfonts/DejaVuinfo.txt',
'!./vendor/mpdf/mpdf/ttfonts/DejaVu*Condensed*',
'./vendor/maximebf/debugbar/src/DebugBar/Resources/vendor/*', './vendor/maximebf/debugbar/src/DebugBar/Resources/vendor/*',
]); ]);

View File

@ -158,7 +158,7 @@ if (!$old_format) {
// Instanziamento dell'oggetto mPDF // Instanziamento dell'oggetto mPDF
$mpdf = new \Mpdf\Mpdf([ $mpdf = new \Mpdf\Mpdf([
'mode' => 'c', 'mode' => 'utf-8',
'format' => $settings['format'], 'format' => $settings['format'],
'orientation' => $settings['orientation'], 'orientation' => $settings['orientation'],
'font-size' => $settings['font-size'], 'font-size' => $settings['font-size'],