Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
16760 Переглядів

Am getting some weird fonts when I print my reports in pdf. I installed wkhtmltopdf  v0.12.4 with patched QT and open ssl. It happens on all reports. I have attached an image that shows the font.

https://ibb.co/dSCLex

Any help will be appreciated. Thank you.

Аватар
Відмінити
Найкраща відповідь

In your qweb report template add css like below:

<style>  
    html * 
    { 
        font-size: 12; 
        font-family: Times and Roman; 
    }
</style>

Hope it will works

Аватар
Відмінити
Найкраща відповідь

Salut regarde ce lien:

https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-add-custom-fonts-to-qweb-reports-88923



Аватар
Відмінити

Please use english language.

Найкраща відповідь

Did you follow Odoo's advice and use wkthmltopdf 0.12.1 as described in Odoo's installation documentation? Does it happen with the proper version too?

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
6
січ. 24
68437
2
вер. 24
2060
2
вер. 20
6459
5
серп. 19
46648
4
черв. 18
20236