服务器字体不在Internet Explorer中工作11
我在网页上使用 @font-face进行更改字体。如果我使用带有字体的本地文件(从我的PC fort for from pc )看起来像这样:所需的字体。但是,如果我尝试从同一目录中使用服务器文件(服务器字体文件route )字体我在 Standart font
I use @font-face on my web page for change font. If i use local files with fonts(route for font from my pc), all work fine font look like this: needed font . But if I try to use server file from same directory(server font file route) IE received this font I see it in dev tool but font not working and looks like standart font
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找不到好的解决方案,但是我修复了此答案中使用了base64转换器:转换和渲染Web字体为base64-保持原始外观
转换器:
并将我的TTF字体文件作为base64字符串。
I not found good solution, but I fixed it used base64 converter from this answer: Converting and rendering web fonts to base64 - keep original look
Converter:
And included my ttf font file as base64 string.