Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
284 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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.

Avatar
Verwerfen