@ font-face失败OpenType嵌入权限检查。权限必须是可安装的 [英] @font-face failed OpenType embedding permission check. Permission must be Installable
问题描述
此例外情况发生在此处您可以在IE11中重现。到目前为止我还没有找到问题的原因。有任何想法,为什么会导致这种情况?
CSS3114:@ font-face失败OpenType嵌入权限检查。
权限必须是可安装的。文件:
53d9eae5-63b4-48d7-a5b8-3419455028bb.ttf
该网站正在Azure网站平台上运行,正在使用ASP.NET MVC 5。
通过添加
修复 < staticContent>
< mimeMap fileExtension =。woffmimeType =application / octet-stream/>
< / staticContent>
在
下 < system.webServer>
$ b :
以防止随后发布的任何问题我建议这样做:
< staticContent>
< remove fileExtension =。woff/>
< mimeMap fileExtension =。woffmimeType =application / octet-stream/>
This exception occurs in here. You can reproduce it in IE11. So far I have not found the cause of the issue. Any ideas why this is being caused?
CSS3114: @font-face failed OpenType embedding permission check.
Permission must be Installable. File:
53d9eae5-63b4-48d7-a5b8-3419455028bb.ttf
The web site is running on Azure Websites platform and is using ASP.NET MVC 5.
解决方案 Fixed by adding
<staticContent>
<mimeMap fileExtension=".woff" mimeType="application/octet-stream" />
</staticContent>
under
<system.webServer>
in web.config.
Edit:
to prevent any problems with consequent releases I recommend doing this:
<staticContent>
<remove fileExtension=".woff" />
<mimeMap fileExtension=".woff" mimeType="application/octet-stream" />
</staticContent>
这篇关于@ font-face失败OpenType嵌入权限检查。权限必须是可安装的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!