bokmann / font-awesome-rails

the font-awesome font bundled as an asset for the rails asset pipeline
http://fortawesome.github.com/Font-Awesome/
MIT License
1.86k stars 244 forks source link

Icons not loading on Chrome OS or Windows #154

Closed ttseng closed 9 years ago

ttseng commented 9 years ago

I just noticed that on my production server, font-awesome icons are not appearing properly. The icons appear to load properly on Mac (OS X and iOS), but when I load on a Chromebook or in browser on Windows, I get boxes instead of the icons. You can check it out by loading this page:

http://buildinprogress.media.mit.edu/

This is the error that appears in the console:

downloadable font: download failed (font-family: "FontAwesome" style:normal weight:normal stretch:normal src index:2): bad URI or cross-site access not allowed source: http://d2gqa68fsv1w7h.cloudfront.net/assets/fontawesome-webfont-f2a9004d897733ee518fb3d48f0fbb53.woff?v=4.4.0

Any ideas how to resolve this issue?

ttseng commented 9 years ago

The problem was Cloudfront - I followed the instructions here to resolve the issue: http://blog.xdite.net/posts/2013/07/22/font-awesome-firefox-cloudfront