【问题标题】:IE 10 Font Issues - failed OpenType embedding permission check. Permission must be InstallableIE 10 字体问题 - OpenType 嵌入权限检查失败。权限必须是可安装的
【发布时间】:2017-08-23 06:02:56
【问题描述】:

我正在创建一个网络应用程序并使用自定义字体和 fontawesome。我收到以下错误 CSS3114:@font-face 未能通过 OpenType 嵌入权限检查。权限必须是可安装的。 305D82_3_0.ttf

CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable. 
glyphicons-halflings-regular.ttf

我的 CSS 是

  @charset "UTF-8";



@font-face
    {
      font-family: 'c_regular';
      src: url("305D82_3_0.eot") format("embedded-opentype");
      src: url("305D82_3_0.eot?#iefix") format("embedded-opentype"), url("305D82_3_0.woff2") format("woff2"), url("305D82_3_0.woff") format("woff"), url("305D82_3_0.ttf") format("truetype");
      font-weight: normal;
      font-style: normal;
    }
    @font-face
    {
      font-family: 'e_bold';
      src: url("fsemeric-bold-webfont.eot") format("embedded-opentype");
      src: url("fsemeric-bold-webfont.eot?#iefix") format("embedded-opentype"), url("fsemeric-bold-webfont.woff2") format("woff2"), url("fsemeric-bold-webfont.woff") format("woff"), url("fsemeric-bold-webfont.ttf") format("truetype"), url("fsemeric-bold-webfont.svg#e_bold") format("svg");
      font-weight: normal;
      font-style: normal;
    }

【问题讨论】:

    标签: html css internet-explorer fonts font-face


    【解决方案1】:

    我认为您需要添加以下内容:

    <staticContent>
          <remove fileExtension=".woff" />
          <mimeMap fileExtension=".woff" mimeType="application/octet-stream" />
    </staticContent>
    

    <system.webServer>
    

    在 web.config 中。

    原文来源:https://medium.com/@zikaitoh/css3111-and-css3114-issue-640e7d5e9163

    【讨论】:

      猜你喜欢
      • 2015-06-03
      • 1970-01-01
      • 2019-12-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-18
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多