title: How to add a custom font to Rails app?
body: <p>I've got a couple fonts I'd like to use in my RoR application, but their formats are mainly  .ttf and .otf, among others. How would I go about embedding these files in my Rails app? Namely, once I put them in my assets folder, what exactly is the syntax for me to embed them in my CSS and/or LESS files?</p>
  
  <p>EDIT:
  Here's the code I have for now:</p>
  
  <pre><code>@font-face {
      font-family: Vow;
      src: url('/assets/Vow.otf');
  }
  h1 {
      font-family: Vow;
      text-align: center;
  }
  </code></pre>
  
  <p>It doesn't seem to be working for me. The output in the Rails console is something along the lines of:</p>
  
  <pre><code>ActionController::RoutingError (No route matches [GET] "/assets/Vow.otf")
  </code></pre>
  
  <p>And examining the page with Firebug says:</p>
  
  <pre><code>downloadable font: download failed (font-family: "Vow" style:normal weight:normal stretch:normal src index:0): status=2147746065
  source: http://localhost:3000/assets/Vow.otf
  </code></pre>