Adds the Journal font from FontSquirrel to the Rails 3.1+ asset pipeline.
Add this line to your application's Gemfile:
gem 'journal-font-rails'
And then execute:
$ bundle
In your application.css
# Include all
*= require 'journal-font'
Then you can assign it using standard css font-family
body {
font-family: 'JournalRegular', Arial, sans-serif;
}
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request