Skip to content

ananthakumaran/webify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

34d817b · Aug 1, 2021
Aug 1, 2021
Dec 15, 2013
Aug 1, 2021
Feb 24, 2018
Aug 1, 2021
Aug 1, 2021
Apr 3, 2013
May 28, 2015
Apr 3, 2013
Mar 5, 2014
Aug 1, 2021
Aug 1, 2021
Aug 1, 2021
Aug 1, 2021

Repository files navigation

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