跳至內容
選單
此問題已被標幟
3 回覆
7765 瀏覽次數

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
8988
1
3月 22
4933
1
6月 21
2268
2
2月 21
299
5
9月 20
14134