Hebrew PDF not shown
-
Hello,
I have Russian and Hebrew languages in customer address and product description.
If I select “output in HTML” in plugin settings, the output looks perfect in all languages. English, Hebrew and Russian letters are all OK.
But when want to get the PDF, Hebrew letters are not shown (there are squares or “??” instead).
I tried to add my own Hebrew font, but again, it looks good in HTML, but doesn’t work in PDF.
This is the code I added to style.css file in my template (I thought special treatments for Hebrew chars would help, but it is still good in HTML, but not in PDF):
@font-face {
font-family: ‘Open Sans’;
font-style: normal;
font-weight: normal;
src: local(‘David’), local(‘David Regular’), url(https://www.paradise-fashion.co.il/wp-content/themes/mystile-nick/woocommerce/pdf/NIckInvoice/fonts/david.ttf) format(‘truetype’);
unicode-range:0590-05FF;
}Maybe I should make changes in DOMPDF fonts folder ?
Please, help me.Thank you,
Nick.https://www.ads-software.com/plugins/woocommerce-pdf-invoices-packing-slips/
- The topic ‘Hebrew PDF not shown’ is closed to new replies.