تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4 الردود
16726 أدوات العرض

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
يناير 24
68412
2
سبتمبر 24
2046
2
سبتمبر 20
6435
5
أغسطس 19
46629
4
يونيو 18
20211