我正在尝试像这样将一些字体作为 Assets 添加到我的应用中
@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 上不起作用,压缩字体可以正常工作。
最佳答案
.ttf 在 IE 中的支持不是很好..
详情请看这里:What is the status of TTF support in Internet Explorer?
关于css - 在 IE11 上字体回退到 times new roman,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50329354/