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

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.

Avatar
Verwerfen
Beste Antwort

In your qweb report template add css like below:

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

Hope it will works

Avatar
Verwerfen
Beste Antwort

Salut regarde ce lien:

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



Avatar
Verwerfen

Please use english language.

Beste Antwort

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?

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
6
Jan. 24
68435
2
Sept. 24
2059
2
Sept. 20
6459
5
Aug. 19
46648
4
Juni 18
20235