跳至内容
菜单
此问题已终结

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
5月 24
1644
2
5月 24
3307
3
2月 24
2829
2
11月 22
5666
0
4月 24
1564