lib/rack-fontserve/views/stylesheet.erb in rack-fontserve-0.1.4 vs lib/rack-fontserve/views/stylesheet.erb in rack-fontserve-0.2.0
- old
+ new
@@ -1,5 +1,6 @@
<% if @font.license? %>/* LICENSE: <%= @font.license %> */<% end %>
+
@font-face {
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 %>
\ No newline at end of file