@ font-face失败OpenType嵌入权限检查。权限必须是可安装的 [英] @font-face failed OpenType embedding permission check. Permission must be Installable

查看:1335
本文介绍了@ font-face失败OpenType嵌入权限检查。权限必须是可安装的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此例外情况发生在此处您可以在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆