# 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
Update fontcustom.yml
with the correct paths where it says PUT_YOUR_PATH_HERE
.
Update the font_name
value to generate a new filename for the font files. This is necessary for browser cache-busting.
Add your new font(s) in SVG format to the assets/icons
folder.
If Gemfile.lock exists, delete it. The run bundle install
Run the command bundle exec fontcustom compile
. That generates the following:
icons.less
file [LOCAL_COUCHDB_REPO]/src/couchdb-fauxton/assets/lessfauxtonicon-preview.html
preview [LOCAL_COUCHDB_REPO]/src/couchdb-fauxton/assets/fonts/styleguide[font name].eot
[font name].svg
[font name].ttf
[font name].woff
For more info on Fontcustom, check out their documenation: Fontcustom documentation
For more info on Bundler, check out their documentation: Bundler documentation