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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
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
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
0
5月 24
|
1461 | ||
|
3
2月 24
|
2614 | ||
|
2
11月 22
|
5502 | ||
|
0
4月 24
|
1409 | ||
|
2
10月 23
|
4323 |