-
Notifications
You must be signed in to change notification settings - Fork 12.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fontawesome-webfont.ttf not working on IE9 #374
Comments
I'm seeing the same squares in IE9 but not IE8... Very strange. I don't know what the root cause is though, not seeing that CSS error anywhere using IE developer tools etc. How did you get that error to display? Did you figure out a fix yet? Oh and the font awesome site displays fine in IE9 also. |
If you're serving static content from a CDN, IE9 may be failing to load the web fonts due to cross-origin issues. If you run the F12 developer tools in IE9 you'll see:
See http://stackoverflow.com/questions/5065362/ie9-blocks-download-of-cross-origin-web-font - you need to add the |
duncansmart - I saw that post on StackOverflow - but doesn't this mean that Font-Awesome has to modify the fonts at their end to allow this? I downloaded the tool to change this property locally, but it would not run on 64-bit Win7. |
@robertj98 All I know is that I'm not seeing any issues now with IE9, so I doubt the files themselves are the issue. Another thing to look at is the MIME type ( |
Even weirder, now I am seeing the fonts render sporadically on both IE9 and IE8, sometimes it works sometimes it doesn't. Must be a different issue then.. |
The fonts are being served from my local IIS on Win7Pro. Checked the MIME type and it is application/octet-stream. |
Any luck? Still can't get them to display in IE. When I use fiddler, it is requesting both the ttf and the woff, but not the eof. If I compare to font awesome's website it is only requesting the eof files, same browser. Very strange |
Working OK for me now. Could be IE going into compatibility mode? I'm sending |
I had to change font-awesome.css From:
To:
|
thanks thorst ill give that a try. definitely not compatibility mode, already checked that.. |
thorst - thanks - that seems to fix it for me. |
I've been dealing the same problem this morning. The only error that I see in IE9 is the OpenType embedding check. The embedding flag in the ttf file is a red herring. IE9 should be using the woff file, but it was getting a 404 when it tried to download it so it fell back on the ttf file. In my case the problem is IIS 6. It does not serve files without a mime type. On our staging server someone had added a wildcard mapping which served files as application/octet-stream, but that mapping was not in our production server. IIS 6 has mime types for eot and rtf files already, but not woff. You can add it at the computer level, but it wont take effect until the IIS processes recycle. If you add it at the site level it will take effect immediately. |
Thorst that worked for me as well. Thank you. |
Thanks @thorst, worked for me as well :) |
Interesting thread. I'll look into this for the upcoming 2.1 release. |
Did you test it with a cross-domain CDN? I think this still fails on IE9 when the font doesn't have full "Installable" permissions. Only solution seems to be to edit the font permissions or serve it from the local server. |
Just wanted to post and say that I was having the same issue on IE9 with boxes showing instead of the icons. But the change suggested by thorst above has fixed the issue for me. |
If you are serving the files from IIS the .woff file will fail to load because of an unrecognized mime type. just add the mime type in IIS configuration or add the mime to the web.config of your .net app <system.webServer> |
I second the solution to just adding the MIME types in your .NET application's web.config. This way you don't have to worry as much about deployment problems. It solved this error for me. |
thanks thorst it's works for me. |
Version 3.0 has been checked in IE9. Let me know if there are still issues. |
thanks thorst - it fixed my prob...:) |
same problem in IE9 Mobile, has anyone solved this ? Thanks |
use a cdn for the font files, seems to have fixed it for us. must be related to the headers or something |
If you could point me to a proper server configuration, I will add that to the troubleshooting guide (server configuration isn't up to us) |
I don't think it's a CDN problem, here a screen shot with the FontAwesome site itself, but going to MaxCDN produces same result: squares all over |
So we use the bootstrap cdn: //netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.min.css Which definitely fixed it for us, maybe inspect those headers, or maybe pulling from remote source did it not sure but that worked for us across all IE's and every situation we have seen so far.. |
Oh I miss mobile. IE9 mobile doesn't support webfonts, as you can see in the "Font Awesome" font itself. Quite astonishing but that's it. |
yep, that's what I've realized ... regardless, I've put a link to test on IE9 Mobile with version suggested by zanedev ... maybe it will show :-) Update nope, I've just confirmed IE9 Mobile does not support web fonts at all. Oh well, thanks for hints anyway |
ah yeah we arent targeting ie9 mobile at this point... fixed all desktop issues we were having though |
btw, when I say I need FontAwesome for IE9 Mobile too, I mean it :P so here the proof in WP7 and IE9 Mobile here the repository - it is Mit Style because I use a system called gitstrap that puts that automatically but this would be actually a WTFPL since the magic about all icons is done by the FontAwesome SVG file ... I've just created an ad-hoc SVG path parser in order to draw them on canvas. You can test the whole thing in this demo page where every browser should use the If you want a pull request or any improvemente that won't take too much time (I really just needed to not show few awesome icons as squares for WP7) feel free to open a request in the repo. If you want to take care of the whole script, I can push request it. All the best and thanks for this awesome font :-) |
hi, the original issue (CSS3114) should be fixed by setting the embedding permissions to "installable" for TTF variant - tested (changed in Font Forge). I have no idea how to do it properly, so I can't provide a patch. Anyway discussion about CSS3117 (CDN issue) is just offtopic. |
In can be fixed by tool like ttembed: https://github.com/hisdeedsaredust/ttembed during build or by font authoring tool if it supports it. |
Credit goes to @thorst, see comment: FortAwesome/Font-Awesome#374 (comment)
Font-Awesome is displaying fonts as squares on IE9 running on Win7. IE9 is NOt running in compatibility mode.
The error I am getting is:
CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable.
fontawesome-webfont.ttf
The font awesome website displays OK in IE9 - but it seems to be using the .woff files.
I downloaded a file (embed.exe) which says it can change the embeddable flag in the .ttf font but I cannot run this on my 64-bit Win7.
Can you conform that this is an issue, or do you have a version of the .ttf file that can be used in IE9 - with th eembeddable flag on.
Robert Jones
The text was updated successfully, but these errors were encountered: