How to embed CSS3 fonts in Rails 3.0.9

I’m using Rails 3.0.9, and I want to use @font-face CSS3 feature to
embed
fonts in my app. Here’s my CSS.

@font-face {

@font-face {
}

I have all the font files ready thanks to http://www.fontsquirrel.com/
but
my questions is where should I put them? I tried putting them in
/public/fonts/ making changes to the url part of the CSS above to
‘…/fonts/fontfile’ but that doesn’t work. I also tried putting them in
/vendor/assets/fonts/, which I believe is the convention for Rails 3.1.
I’ve also tried the CSS outside of Rails and it works fine.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs