Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
269 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează