This question has been flagged

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.


Avatar
Discard