Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3550 Ansichten

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Mai 24
1846
2
Mai 24
3621
3
Feb. 24
3096
2
Nov. 22
5944
0
Apr. 24
1773