Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3501 Vizualizări

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.


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mai 24
1796
2
mai 24
3507
3
feb. 24
3008
2
nov. 22
5877
0
apr. 24
1739