0
Hi,
PDFs attached to emails doesn't have special characters like Ś ś ł Ł ą Ą ę ć ź ń etc. Insted of them I'm getting question marks. I guess it's something with dompdf, so I already checked this:
define("DOMPDF_UNICODE_ENABLED", true);
define("DOMPDF_DEFAULT_FONT", "Arial");
Arial is supporting these characters and unicode enabled is set to true. What do I have to do to have my special characters in pdf?
Thanks for help.
Best regards,
Chris
PDFs attached to emails doesn't have special characters like Ś ś ł Ł ą Ą ę ć ź ń etc. Insted of them I'm getting question marks. I guess it's something with dompdf, so I already checked this:
define("DOMPDF_UNICODE_ENABLED", true);
define("DOMPDF_DEFAULT_FONT", "Arial");
Arial is supporting these characters and unicode enabled is set to true. What do I have to do to have my special characters in pdf?
Thanks for help.
Best regards,
Chris
Responses (3)
-
Accepted Answer
1if you need these characters you need to use the only font that has these characers in DOMpdf, which is called "deja vu"
inside the invoice template, at the top of the code, where the font is defined as Helvetica, change that and put "deja vu" instead. this is the only font that supports all characters in PDF mode.
Arial file in DOMpdf does not support these... only "deja vu" -
Accepted Answer
-
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »