Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
272 มุมมอง

Hi,

After entering required information in Arabic in odoo sign module, the letters would be changed to black squares while downloading the PDF file, how should I fix the issue?


Already tried, CE, Online, SH.
All the same issue. i think its wkhtmltopdf that make the issue


thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

This is a classic wkhtmltopdf + non-Latin characters problem. The “black squares” appear because the font used in the PDF does not support Arabic characters

In Odoo, you can specify a font in your QWeb reports:

<style>

    body, td, th {

        font-family: "DejaVu Sans", "Arial", sans-serif;

    }

</style>


Hope it helps.

อวตาร
ละทิ้ง