@font-face failed OpenType embedding permission check. Permission must be Installable

后端 未结 7 1674
你的背包
你的背包 2020-12-04 16:22

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?

7条回答
  •  無奈伤痛
    2020-12-04 17:01

    For documentation or future visitors: In my case I was experimenting this issue with IE11 and .otf fonts, if this is your case read this Can I use case. Basically what it says is that IE11 doesn't support some .ttf and .otf fonts.

    The best solution I found was to convert the .otf font to .woff and add the code on Jakub Holovsky's response with a small change.

    
      
      
    
    

提交回复
热议问题