Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4 Respostas
16785 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Melhor resposta

Salut regarde ce lien:

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



Avatar
Cancelar

Please use english language.

Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
6
jan. 24
68528
2
set. 24
2104
2
set. 20
6483
5
ago. 19
46698
4
jun. 18
20275