Hi, Invoices with UTF-8 Text (Unicode Devenagari) Text, comes up with Boxes instead of letters ??????becomes □□□ but if you copy paste these boxes and paste into Notepad the text is readable I do have devenagri fonts including Mangal for Devenagari and don’t have this issue on other PDF I have.
Using Latest WordPress, Updated Woocommerce and PDF invoices version Version 3.9.4
Apologies, I completely forgot that this extension is exclusive to paying customers and the repository is private. In this case, please follow the instructions on this documentation page to load the fonts: Using custom fonts
In addition to the recommendation given by Alex, I would like to mention that I already tested several fonts, to try to provide support to Devenagari. However, it seems that the 2 most used PHP libraries to render PDF (dompdf & mPDF) do not fully support these characters yet.
Our free main plugin uses the dompdf engine by default, but such scripts (including Devanagari, Bengali, and Gujarati) are not fully compatible with it, yet. Here you can find the collection of issues organized by the engine author:?https://github.com/dompdf/dompdf/issues/2619
While investigating one of the threads listed there, I read that maybe the mPDF could be able to render Hindi characters correctly, like Marathi or Devanagari. It turns out that we have a mPDF extension as well (that you can find?here), so I installed it and try to render the text you sent with the Mukta font (and also with Tiro Devanagari Marathi and Lohit-Devanagari), but I got the same result:
This issue was also reported at the mPDF repository, e.g. here: https://github.com/mpdf/mpdf/issues/1882, so it seems a common issue in the PDF rendering with the most common PDF generator engines.
Therefore, at this point, I’m sorry to say that we seem to be unable to offer full compatibility for these characters at the moment. I understand that this may be disappointing, and I apologize for any inconvenience caused by these technical limitations. Please rest assured that we will include support for it in the future, if we found any alternative solution to this issue.