Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4485 Visualizzazioni

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 23
2021
1
ago 23
1795
3
set 19
6217
3
giu 20
6070
1
gen 20
6289