FontAwesome on windows Phone 8

I'm having trouble displaying FontAwesome icons on Windows Phone 8.

  • Phone (HTC 8X): OK in the dev (http) block, but not on the QA server (https)
  • Surface RT, Pro, desktop: OK on both servers

All devices use IE10. Both environments (Dev and QA) use IIS7. It seems that the IE10 phone is somehow different from the IE10 tablet / desktop when handling downloadable fonts.

Has anyone else experienced this?

+4
source share
1 answer

This happened due to the lack of a MIME type. I was mistaken in both environments using IIS7; The QA server uses IIS6. We added application/x-font-woff to the IIS configuration and fixed it.

UPDATE: Add this to your Web.config to link the .woff files to the correct MIME type so that the server knows what to do when such a file is requested:

 <configuration> <system.webServer> <staticContent> <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" /> </staticContent> </system.webServer> </configuration> 
+10
source

All Articles