Hi
I have a problem with font-face routes on the server,when I open the site in windows, when I do with linux, works . both use chrome latest version.
-the fonts are in /assets/fonts/
-in /assets/stylesheets/fonts.css.scss
@font-face { font-family: 'OswaldLight'; src: url ('/assets/Oswald-Light-webfont.eot'); src: url ('/assets/Oswald-Light-webfont.eot?#iefix') format('embedded-opentype'), url ('/assets/Oswald-Light-webfont.woff') format('woff'), url ('/assets/Oswald-Light-webfont.ttf') format('truetype'), url ('/assets/Oswald-Light-webfont.svg#OswaldLight') format('svg'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'OswaldBook'; src: url ('/assets/Oswald-Regular-webfont.eot'); src: url ('/assets/Oswald-Regular-webfont.eot?#iefix') format('embedded-opentype'), url ('/assets/Oswald-Regular-webfont.woff') format('woff'), url ('/assets/Oswald-Regular-webfont.ttf') format('truetype'), url ('/assetsOswald-Regular-webfont.svg#OswaldBook') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'TeXGyreAdventorBoldItalic'; src: url ('/assets/texgyreadventor-bolditalic-webfont.eot'); src: url ('/assets/texgyreadventor-bolditalic-webfont.eot?#iefix') format('embedded-opentype'), url ('/assets/texgyreadventor-bolditalic-webfont.woff') format('woff'), url ('/assets/texgyreadventor-bolditalic-webfont.ttf') format('truetype'), url ('/assets/texgyreadventor-bolditalic-webfont.svg#TeXGyreAdventorBoldItalic') format('svg'); font-weight: normal; font-style: normal; }
in /assets/stylesheets/application.css
/* *= require reset *= require fonts *= require bootstrap.min *= require style */
in /assets/stylesheets/style.css
use the font ASI
.ac_menu > ul > li a{ margin-top:60px; opacity:0; display:block; height:90px; padding:0px 10px; text-align:center; line-height:90px; outline:none; font-family:'OswaldBook',Georgia,serif; font-weight:normal; font-style:italic; font-size:14px; }
in app/views/layouts/application.html.erb
<%= stylesheet_link_tag "application" %>
thanks for the help.