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?
Denna fråga har flaggats

You can search the Forum in case your question was asked by someone else - see https://www.odoo.com/forum/help-1/can-i-use-a-custom-font-in-an-odoo-report-like-a-cursive-one-184064#answer-184069
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.
Hi,
To change the font, we can use the following code in our template,
<div class="page" style="font-size: 18pt;font-family:Helvetica,
Hope it helps
This method isn't working. I am using odoo v17
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
0
maj 24
|
4093 | ||
|
|
3
feb. 24
|
6051 | ||
|
|
2
nov. 22
|
8543 | ||
|
|
0
apr. 26
|
21 | ||
|
|
0
apr. 24
|
4098 |