跳至内容
菜单
此问题已终结
4 回复
16631 查看

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?

形象
丢弃
相关帖文 回复 查看 活动
6
1月 24
68203
2
9月 24
1922
2
9月 20
6379
5
8月 19
46526
4
6月 18
20084