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

Merge pull request #4466 from JediKev/issue/mpdf-auto-lang-rtl

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