Skip to content
Snippets Groups Projects
Commit 01c4dda2 authored by JediKev's avatar JediKev
Browse files

issue: mPDF Arabic Fonts

This addresses issue 4449 where using an Arabic language pack and trying to
print a ticket returns a PDF with either squares for text or no text at all.
parent 1fdd6783
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,7 @@ class Ticket2PDF extends mPDFWithLocalImages
return;
$html = ob_get_clean();
$this->SetAutoFont();
$this->WriteHtml($html, 0, true, true);
}
}
......@@ -115,6 +116,7 @@ class Task2PDF extends mPDFWithLocalImages {
ob_start();
include STAFFINC_DIR.'templates/task-print.tmpl.php';
$html = ob_get_clean();
$this->SetAutoFont();
$this->WriteHtml($html, 0, true, true);
}
......
File added
File added
File added
File added
File added
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment