i'm using Montserrat font in my ruby on rails application. In my desktop the font appear, but I checked on other pc and it's on times new roman.
I added this in application.rb:
config.assets.paths << Rails.root.join("app", "assets", "fonts")
config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/
and my fonts are in assets/fonts/montserrat:
and this is my font.scss
@font-face {
font-family: 'Montserrat';
font-weight: normal;
font-style: normal;
src: font-url('montserrat/montserrat-regular-webfont.eot');
src: font-url('montserrat/montserrat-regular-webfont.eot?#iefix') format('embedded-opentype'),
font-url('montserrat/montserrat-regular-webfont.woff') format('woff'),
font-url('montserrat/montserrat-regular-webfont.ttf') format('truetype'),
font-url('montserrat/montserrat-regular-webfont.svg') format('svg');
}
and I call the font like this:
.welcome{
font-family: 'Montserrat';
color: #333;
text-align: center;
}
what am I doing wrong?