Search code examples
asp.net-mvcinternet-explorerfont-face

IE9 won't render @font-face truetype fonts


IE9 won't render @font-face truetype fonts though all other browsers do. I'm getting the following exception:

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

I found similar questions on here and other places, but none of the solutions provided worked for me. For example, adding the following in Web.config won't solve the problem.

<httpProtocol>
      <customHeaders>
        <add name="Access-Control-Allow-Origin" value="*" />
      </customHeaders>
</httpProtocol>

There is also no woff version of the font I'm using, and I'm not sure if converting it into the woff format is allowed or not. I'm currently making an ASP.NET MVC project. How could I embed a ttf font in the project and use it in IE9?


Solution

  • Because IE doesn't support truetype so you need to convert it to .eot