下面的字体是在边缘浏览器中工作。但它不适用于ie10和ie11。好像是新罗马字体。我已经在堆栈溢出中搜索了解决方案。但无法解决这个问题。提前谢谢。
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.5.0');
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'),
url('../fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'),
url('../fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'),
url('../fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'),
url('../fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Conv_Mark Simonson - Proxima Nova Regular_0';
src: url('../fonts/Mark Simonson - Proxima Nova Regular_0.eot');
src: local('☺'), url('../fonts/Mark Simonson - Proxima Nova Regular_0.woff') format('woff'), url('../fonts/Mark Simonson - Proxima Nova Regular_0.ttf') format('truetype'), url('../fonts/Mark Simonson - Proxima Nova Regular_0.svg') format('svg');
font-weight: normal;
font-style: normal;
}
答案 0 :(得分:0)
我发现两个相似的链接希望它可以帮助你
还有一些相关的代码
@font-face {
font-family: 'shardee';
src: url('fonts/Shardee.eot');
src: url('fonts/Shardee.eot?#iefix')
format('embedded-opentype'),
url('fonts/Shardee.woff') format('woff'),
url('fonts/Shardee.ttf') format('truetype');
}
再试一次 @字体面 { font-family:“MyFont_Lite”; src:url(“../ Fonts / myfont.ttf”)格式(“truetype”); src:url(“../ Fonts / myfont.woff”)格式(“woff”); }