콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3661 화면

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?


아바타
취소
베스트 답변



아바타
취소
작성자

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,Verdana,Arial,sans,Lucida Grande,Calibri;">


Hope it helps


아바타
취소
작성자

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

관련 게시물 답글 화면 활동
0
5월 24
1872
3
2월 24
3152
2
11월 22
5979
0
4월 24
1865
2
10월 23
4918