我的项目中的IE出现了错误,这是第一次出现这样的错误:
@font-face encountered unknown error.
HelveticaLTStd-Roman.92fa3700314207f8e4a0.eot
CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable.
HelveticaLTStd-Roman.6dd14b27b222326b5c19.otf
Unable to get property 'call' of undefined or null reference
inline.bundle.js (55,12)
我找到了一些答案,但没有任何真正帮助我的东西,我总是实现字体,例如:
@font-face {
font-family: 'HelveticaLTStd-Roman';
src: url('../fonts/HelveticaLTStd-Roman.eot?#iefix') format('embedded-opentype'),
url('../fonts/HelveticaLTStd-Roman.otf') format('opentype'),
url('../fonts/HelveticaLTStd-Roman.woff') format('woff'),
url('../fonts/HelveticaLTStd-Roman.ttf') format('truetype'),
url('../fonts/HelveticaLTStd-Roman.svg#HelveticaLTStd-Roman') format('svg');
font-weight: normal;
font-style: normal;
}
任何人都知道发生了什么,以及如何解决它?