Skip to Content
Menú
This question has been flagged
3 Respostes
7769 Vistes

How to add custom font on odoo v11

Avatar
Descartar

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

in odoo framework(frontend)

Autor Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
2
de jul. 22
8988
1
de març 22
4936
1
de juny 21
2268
2
de febr. 21
299
5
de set. 20
14135