Please sign in to comment.
issue: PDF Squares Instead Of Text
This addresses an issue with Thai fonts (and a few others like Hebrew, Arabic, etc.) where printing a PDF will show square characters instead of the actual content. This is due to `autoScriptToLang` and `autoLangToFont` not being set to `TRUE`. This updates the mPDF config to set the value of `autoScriptToLang` to `TRUE` as this formats the HTML using the lang attribute for the specific language of the content. In addition, this updates the mPDF config to set `autoLangToFont` to `TRUE` as this selects the correct font to use for the specific language of the content. https://mpdf.github.io/fonts-languages/automatic-font-selection.html
- Loading branch information...
Showing with 2 additions and 2 deletions.