Sale Pdf Displays Arabic Text Ltr Instead Of Rtl

0

Hi, as the title said, when export a sale to pdf, it display Arabic text wrong.
How we can fix it?

Regards,

Question Resolved For: Stock Manager Advance with Point of Sale Module 0 Votes 7 Answers 1.7k Views
Asked by Saif Hamed 4 years ago

0

Answered by Mian Saleem

Hello,

There are 2 pdf libraries, dompdf (only english) and mpdf (support many languages including Arabic). Please try mpdf library by updating system settings and let me know if you still have issue.

Thank you

0

Answered by Enyinnaya Gift 4 years ago

Hello,

This could be as a result of the language file that you selected.

Kindly click on this demo link Stock Manager Advance with Point of Sale Module and see if you can replicate it there.

0

Answered by Saif Hamed 4 years ago

I tried to do so, but I could not, we have to copies of SMA, I think 3.4.38 and 3.4.40 with same issue.
I have not try it on other versions we have.
Not sure if all the text is wrong, some times we write the customer name in Arabic, it show it wrong on pdf.
Print from POS to pdf works fine.

0

Answered by Saif Hamed 4 years ago

It displayed like this:

0

Answered by Enyinnaya Gift 4 years ago

Saif Hamed Can you show a better full screenshot of the issue.

0

Answered by Saif Hamed 4 years ago

Thank you for your response, here is a real sale. I could not show more info.

As I said, Arabic text displayed LTR. It should be RTL. Maybe the font not supported or so on.
In the previous attachment, on the right is how it should looks like. On the left, how the text displayed in the PDF.

Regards

0

Answered by Saif Hamed 4 years ago

Thank you,
mpdf solved the issue.

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.