字体可以追溯到IE11上的新罗马时代

时间:2018-05-14 11:36:58

标签: css angularjs sass

我尝试将一些字体作为资源添加到我的应用中,就像这样

@include font-face('test-Regular', './assets/fonts/test_Regular', null, 'Regular', 'ttf');
@include font-face('test-Bold', './assets/fonts/test_Bold', null, 'Regular', 'ttf');
@include font-face('testCondensed-Bold', './assets/fonts/test_Cond_Bold', null, null, 'ttf');
@include font-face('testCondensed-Regular', './assets/fonts/test_Cond_Regular', null, null, 'ttf');

所有字体在Chrome,FF上运行正常,但常规字体不适用于IE11,精简字体正常工作。

1 个答案:

答案 0 :(得分:2)

.ttf在IE中不受支持..

在此查看详细信息:What is the status of TTF support in Internet Explorer?