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

Hi all,

I have a problem when I want to add custom fonts to Odoo.sh. On Local Odoo Machine it works fine.

I have followed the basic documentation here: https://github.com/odoo/odoo/blob/13.0/doc/reference/reports.rst#custom-fonts

This step is no solution, if I render the PDF it doesn't use the new font, but in the HTML view (URL reports call) it shows the new font without problem.

After that I installed the fonts with the shell on the server. It shows that the fonts are installed on the system. But I don't get any results on rendering the odoo qweb pdf.

My last step was to insert the fonts to the basic system fonts directory (/usr/share/fonts...) but the directory is read-only. 


Any help ?

EDIT: On a instance of odoo 12.0 on odoo.sh it works with (opentype) fonts. But I tried it on Odoo 13.0 with a truetype font and this is not working in the rendered pdf reports.


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 24
1801
2
مايو 24
3523
3
فبراير 24
3014
2
نوفمبر 22
5885
0
أبريل 24
1744