Sha256: 1bc5e6aa54a92cf67c9787f3c4b691ad517a31d6d49e64bdb87f150048b422b2

Contents?: true

Size: 764 Bytes

Versions: 1

Compression:

Stored size: 764 Bytes

Contents

<% 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 %>
       <% if format?('woff') %>url('<%= "./#{@font.name}.woff" %>') format('woff'), <% end %>
       <% if format?('ttf') %>url('<%= "./#{@font.name}.ttf" %>') format('truetype'), <% end %>
       <% if format?('otf') %>url('<%= "./#{@font.name}.otf" %>') format('opentype'), <% end %>
       <% if format?('svg') %>url('<%= "./#{@font.name}.svg#webfont" %>') format('svg'), <% end %>
       local('☺');
  font-weight: normal;
  font-style: normal;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-fontserve-0.2.0 lib/rack-fontserve/views/stylesheet.erb