İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3067 Görünümler

I have created a QWeb template for PDF report. Can i use a custom font for it. I have tried downloading font and creating SCSS file. but it didn't work. Is there any other ways to do it?


Avatar
Vazgeç
En İyi Yanıt



Avatar
Vazgeç
Üretici

When I give like this, the font is changed in HTML format. but when i download PDF file, font isn't changing.

Which PDF report did you modify? How did you modify it? In some cases we have QWEB applicable to just the PDF version and some applicable just to the Portal version.

En İyi Yanıt

Hi,


To change the font, we can use the following code in our template,


<div class="page" style="font-size: 18pt;font-family:Helvetica,Verdana,Arial,sans,Lucida Grande,Calibri;">


Hope it helps


Avatar
Vazgeç
Üretici

This method isn't working. I am using odoo v17

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
May 24
1461
3
Şub 24
2614
2
Kas 22
5502
0
Nis 24
1409
2
Eki 23
4323