tree: 685cbbdda3cdd5038aba63754e17d8d8733e834a [path history] [tgz]
  1. styleguide/
  2. templates/
  3. FontAwesome.otf
  4. Gemfile
  5. Gemfile.lock
  6. README.md
  7. fauxtonicon.eot
  8. fauxtonicon.svg
  9. fauxtonicon.ttf
  10. fauxtonicon.woff
  11. fontawesome-webfont.eot
  12. fontawesome-webfont.svg
  13. fontawesome-webfont.ttf
  14. fontawesome-webfont.woff
  15. fontcustom.yml
assets/fonts/README.md

WARNING: this is a temporary solution for adding icons to the Icon Font. This will become a grunt task eventually.

This is a temp solution till Fontcustom fixes this BUG

Installation

Requires Bundler.io, Ruby 1.9.2+, FontForge with Python scripting.

# On Mac
$ gem install bundler
$ brew install fontforge eot-utils
$ cd [LOCAL_COUCHDB_REPO]/src/couchdb-fauxton/assets/fonts
$ bundle

That should install the gem in a path like below: /Users/[USERNAME]/.rvm/gems/[RUBYVERSION]/bundler/gems/fontcustom

Don't forget to update fontcustom.yml with the correct paths where it says PUT_YOUR_PATH_HERE.

From there, you can run the command $ bundle exec fontcustom compile to compile the svgs located in the ./icons directory into updated fauxtonicon font files.

It's setup to generate the following

  • an icons.less file [LOCAL_COUCHDB_REPO]/src/couchdb-fauxton/assets/less
  • a fauxtonicon-preview.html preview [LOCAL_COUCHDB_REPO]/src/couchdb-fauxton/assets/fonts/styleguide
  • font files in [LOCAL_COUCHDB_REPO]/src/couchdb-fauxton/assets/fonts/
    • fauxtonicon.eot
    • fauxtonicon.svg
    • fauxtonicon.ttf
    • fauxtonicon.woff

For more info on Fontcustom, check out their documenation: Fontcustom documentation

For more info on Bundler, check out their documentation: Bundler documentation

Licenses