pywebfontkit

a simple python based font bundle generator for web.


Keywords
pywebfontkit, svg, woff, ttf, fontforge, otf, eot, css, html, webfont, webfontgenerator
License
GPL-3.0
Install
pip install pywebfontkit==0.1

Documentation

PyWebFontKit

a simple python based font bundle generator for web. collect multiple SVG files and convert to woff, ttf, svg, otf, eof, and create CSS with HTML map.

Requirements

  • fontforge
  • python 3

Instructions

  • Download

    git clone https://github.com/meyt/pywebfontkit.git
    cd ./pywebfontkit
    sudo python ./setup.py install
    

    or install from pypi

      sudo pip install pywebfontkit
    
  • Put svg files to your bundle path like this ./bundles/myfontname/svg

  • Build

    pywebfontkit -f myfontname -p mycssprefix