Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
16597 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

In your qweb report template add css like below:

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

Hope it will works

Awatar
Odrzuć
Najlepsza odpowiedź

Salut regarde ce lien:

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



Awatar
Odrzuć

Please use english language.

Najlepsza odpowiedź

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?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
6
sty 24
68139
2
wrz 24
1889
2
wrz 20
6345
5
sie 19
46500
4
cze 18
20047