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

How to add custom font on odoo v11

Avatar
Abbandona

where you want ? into odoo report or in odoo framework(frontend) ?

in odoo framework(frontend)

Autore Risposta migliore

This is the solution:

 I added this into my css:


.test {
        @font-face {
        font-family: 'myfont';
        src: url('/theme_test/static/src/fonts/230163575-DINNextLTArabic-Regular.eot');
        src: url('/theme_test/static/src/fonts/230163575-DINNextLTArabic-Regular.eot?#iefix') format('embedded-opentype'),
        url('/theme_test/static/src/fonts/230163575-DINNextLTArabic-Regular.woff') format('woff'),
        url('/theme_test/static/src/fonts/230163575-DINNextLTArabic-Regular.ttf') format('truetype'),
        url('/theme_test/static/src/fontss/230163575-DINNextLTArabic-Regular.svg#DIN Next LT Arabic') format('svg');
        font-weight: normal;
        font-style: normal;
        }

            li {
                font-family: 'myfont';
                }
}

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
lug 22
8991
1
mar 22
4940
1
giu 21
2268
2
feb 21
299
5
set 20
14138