Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
282 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ