webfont generator - converts ttf to woff, eot and svg
Haskell Ruby
Latest commit ffe0fb8 May 28, 2015 @ananthakumaran s
Permalink
Failed to load latest commit information.
dev update doc Dec 15, 2013
src bump version Jan 22, 2015
.gitignore ignore prof backup files Dec 15, 2013
.travis.yml remove 7.4 Jan 22, 2015
LICENSE initial commit Apr 3, 2013
README.md s May 28, 2015
Setup.hs initial commit Apr 3, 2013
changelog.md add info about zopfli algorithm Mar 5, 2014
convert_test enable kerning Sep 13, 2013
webify.cabal bump version Jan 22, 2015

README.md

Webify

A command line tool to convert ttf file to woff, eot & svg files

Usage

$> webify fontname.ttf

For the list of available options

$> webify --help

Installation

Latest pre-built binaries for windows, mac and linux can be downloaded here

You can also install it via cabal

 $> cabal install webify

CSS @font-face template

    @font-face {
        font-family: 'my-font-family';
        src: url('my-font-filename.eot');
        src: url('my-font-filename.eot?#iefix') format('embedded-opentype'),
        url('my-font-filename.svg#my-font-family') format('svg'),
        url('my-font-filename.woff') format('woff'),
        url('my-font-filename.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    }

Supported conversion formats

WOFF 1.0 WOFF 2.0 SVG EOT MTX
TTF
OTF