Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
7776 Vues

How to add custom font on odoo v11

Avatar
Ignorer

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

in odoo framework(frontend)

Auteur Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
2
juil. 22
8990
1
mars 22
4936
1
juin 21
2268
2
févr. 21
299
5
sept. 20
14137