lib/rack-fontserve/views/stylesheet.erb in rack-fontserve-0.1.3 vs lib/rack-fontserve/views/stylesheet.erb in rack-fontserve-0.1.4
- old
+ new
@@ -1,7 +1,7 @@
<% if @font.license? %>/* LICENSE: <%= @font.license %> */<% end %>
@font-face {
- font-family: '<%= @font.name %>', Helvetica, Arial, sans-serif;
+ font-family: '<%= @font.name %>';
<% if format?('eot') %>src: url('<%= "./#{@font.name}.eot" %>');<% end %>
src: local('☺'),
<% if format?('eot') %>url('<%= "./#{@font.name}.eot?iefix" %>') format('eot'), <% end %>
<% if format?('woff') %>url('<%= "./#{@font.name}.woff" %>') format('woff'), <% end %>
<% if format?('ttf') %>url('<%= "./#{@font.name}.ttf" %>') format('truetype'), <% end %>
\ No newline at end of file