跳至内容
菜单
此问题已终结
3 回复
7799 查看

How to add custom font on odoo v11

形象
丢弃

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

in odoo framework(frontend)

编写者 最佳答案

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';
                }
}

形象
丢弃
相关帖文 回复 查看 活动
2
7月 22
9016
1
3月 22
4956
1
6月 21
2295
2
2月 21
299
5
9月 20
14152