跳至內容
選單
此問題已被標幟
4255 瀏覽次數

Hi,

I need to generate a QWEB report with a new font. To achieve this I tried below methods.

Method 01  : -  Linking Font URL

<link href="https://fonts.googleapis.com/css?family=Caladea|Caladea+Condensed" rel="stylesheet"/>

Method 02 : - Adding font file to the source and linking it with CSS

@font-face {
font-family: 'CaladeaRegular';
src: url('./../fonts/Caladea-Regular_1.woff') format('woff');
font-weight: bold;
font-style: normal;
}

Method 01 actually worked in the local environment but did not work in the Odoo.sh

Can anyone help me to figure this out.

Thanks.

Eshan.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 23
1769
1
8月 23
1623
3
9月 19
5803
3
6月 20
5715
1
1月 20
6078