Skip to content

meyt/pywebfontkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (obviously)

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.S: On some distribution like Ubuntu, doesn't work with python3, so install python-fontforge and run it under python2.

About

a simple python based font bundle generator for web.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages