Jump to content

Error does not show Arabic in PDF


Recommended Posts

After searching in the script I think that issue came from FPDF

because that classes is responsible about generation words In a PDF file

the new ver is (1.7) I was downloaded it and i am trying to fix this issue

Is there anyone have any idea to help

Link to comment
Share on other sites

You have a problem with fonts. It is about UTF-8 support (TCPDF library is good) as well as Arabic fonts.

 

The new version of the M4 PDF Extension module solve this chalenge. The new version (1.5.0, only available on presta-addons.com now) have a new 'Invoices - Arabic' template which use Arabic fonts and right-to-left tables too.

 

See the attachment. Sorry for some non translated English texts.

orderdetail19BD79.pdf

Link to comment
Share on other sites

thanks for your attention

but I'm not try build my own site

I am translated this script for free use to anybody

if you have any advice to help me to correct that issue for free . I will be thanks for you.

PS

Translation arabic is encoding UTF-8

Link to comment
Share on other sites

I am already merged a tcpdf library in the script.

the Encoding for PDF invoice and Font for PDF invoice is show in Back office

but I had an issue when I try print invoice the page is came plank .

this issue come from pdf.php wich in classes folder.

that is true ?

 

41786359.png

 

83168634.png

Edited by atefatwan (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...