Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4 Ответы
16647 Представления

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
68244
2
сент. 24
1936
2
сент. 20
6384
5
авг. 19
46543
4
июн. 18
20105