Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
267 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit