Skip to content

Commit

Permalink
sp 4.10.0 pdf char fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sendtogeo committed Aug 31, 2021
1 parent 0dbc667 commit 344a4ee
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion includes/sp-common.php
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,9 @@ function exportToPdf($content, $fileName = "reports.pdf") {
'defaultCssFile' => SP_THEME_ABSPATH ."/css/screen.css",
]
);


$mpdf->autoScriptToLang = true;
$mpdf->autoLangToFont = true;
$mpdf->useAdobeCJK = true;
$mpdf->SetDisplayMode('fullpage');
$mpdf->WriteHTML($content, \Mpdf\HTMLParserMode::HTML_BODY);
Expand Down
Binary file removed libs/mpdf_lib/vendor/mpdf/mpdf/ttfonts/Aegyptus.otf
Binary file not shown.
Binary file removed libs/mpdf_lib/vendor/mpdf/mpdf/ttfonts/Sun-ExtA.ttf
Binary file not shown.
Binary file removed libs/mpdf_lib/vendor/mpdf/mpdf/ttfonts/Sun-ExtB.ttf
Binary file not shown.
Binary file not shown.

0 comments on commit 344a4ee

Please sign in to comment.