woff and woff2 are all we need for webfonts

on any browser that is remotely modern
This commit is contained in:
Jeff Atwood 2016-04-11 01:37:17 -07:00
parent d6b4b990a6
commit fff03fb7c3

View File

@ -13,11 +13,7 @@
<style>
@font-face {
font-family: 'FontAwesome';
src: url('<%=asset_path "fontawesome-webfont.eot" %>?<%= font_domain %>&v=4.5.0');
src: url('<%=asset_path "fontawesome-webfont.eot" %>?<%= font_domain %>&v=4.5.0#iefix') format('embedded-opentype'),
url('<%=asset_path "fontawesome-webfont.woff2" %>?<%= font_domain %>&v=4.5.0') format('woff2'),
url('<%=asset_path "fontawesome-webfont.woff" %>?<%= font_domain %>&v=4.5.0') format('woff'),
url('<%=asset_path "fontawesome-webfont.ttf" %>?<%= font_domain %>&v=4.5.0') format('truetype');
src: url('<%=asset_path "fontawesome-webfont.woff2" %>?<%= font_domain %>&v=4.5.0') format('woff2'),
font-weight: normal;
font-style: normal;
}