tulios / icosmith

Icon font generator server

Home Page:http://icosmith.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IcoSmith

is an open source icon font generator server

How to install

MAC OSX

brew install fontforge
brew install ttfautohint
brew install ttf2eot

Ubuntu

FontForge && TTFAutoHint

apt-get install fontforge ttfautohint

ttf2eot (check: https://code.google.com/p/ttf2eot/issues/detail?id=26)

wget https://ttf2eot.googlecode.com/files/ttf2eot-0.0.2-2.tar.gz
tar xvfz ttf2eot-0.0.2-2.tar.gz
cd ttf2eot-0.0.2-2
make
cp ttf2eot /usr/bin

CentOS 5.8

FontForge

wget http://downloads.sourceforge.net/project/fontforge/fontforge-source/fontforge_full-20120731-b.tar.bz2
bunzip fontforge_full-20120731-b.tar.bz2
tar xvf fontforge_full-20120731-b.tar
cd fontforge-20120731-b/ ; ./configure; make; make install

TTFAutoHint

wget http://download.savannah.gnu.org/releases/freetype/ttfautohint-0.95.tar.gz
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.4.12.tar.gz
tar xvfz ttfautohint-0.95.tar.gz
tar xvfz freetype-2.4.12.tar.gz
cd freetype-2.4.12 ; ./configure ; make ; make install
cd ttfautohint-0.95 ; ./configure --with-qt=no; make ; make install

ttf2eot (check: https://code.google.com/p/ttf2eot/issues/detail?id=26)

wget https://ttf2eot.googlecode.com/files/ttf2eot-0.0.2-2.tar.gz
tar xvfz ttf2eot-0.0.2-2.tar.gz
cd ttf2eot-0.0.2-2
make
cp ttf2eot /usr/bin

Docker

There's a Docker image available to run Icosmith server. To use it:

docker run --rm --name icosmith -p 3000:3000 ggarnier/icosmith

The application will be accessible at port 3000 of the host machine.

Running

bundle install
rails s

The application should now be running at localhost:3000.

manifest.json example:

{
  "filename": "my-file-name", // optional
  "name": "my-css-font-name", // optional
  "family": "Example1",
  "version": "1.0",
  "copyright": "some copyright", //optional
  "glyphs": [
    {"code": "0xe001", "name": "svg-name-without-extension"}
  ]
}

About

Icon font generator server

http://icosmith.com/

License:MIT License


Languages

Language:Ruby 60.6%Language:HTML 20.1%Language:JavaScript 9.2%Language:CSS 8.9%Language:Shell 1.1%