Skip to content
Snippets Groups Projects
Unverified Commit 78597d5a authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4455 from JediKev/issue/mpdf-arabic-fonts

issue: mPDF Arabic Fonts
parents 1fdd6783 01c4dda2
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,7 @@ class Ticket2PDF extends mPDFWithLocalImages ...@@ -86,6 +86,7 @@ class Ticket2PDF extends mPDFWithLocalImages
return; return;
$html = ob_get_clean(); $html = ob_get_clean();
$this->SetAutoFont();
$this->WriteHtml($html, 0, true, true); $this->WriteHtml($html, 0, true, true);
} }
} }
...@@ -115,6 +116,7 @@ class Task2PDF extends mPDFWithLocalImages { ...@@ -115,6 +116,7 @@ class Task2PDF extends mPDFWithLocalImages {
ob_start(); ob_start();
include STAFFINC_DIR.'templates/task-print.tmpl.php'; include STAFFINC_DIR.'templates/task-print.tmpl.php';
$html = ob_get_clean(); $html = ob_get_clean();
$this->SetAutoFont();
$this->WriteHtml($html, 0, true, true); $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