treeform / Icons2font
This utility takes vector icons in svg format and convert them to icon fonts (svg,ttf,waff,eot) to be display in all browsers.
Stars: ✭ 17
Programming Languages
python
139335 projects - #7 most used programming language
icons2font
This utility takes vector icons in svg format and convert them to icon fonts (svg,ttf,waff,eot) to be display in all browsers.
Usage
icons2font.py [-h] [--baseline BASELINE] name src [dest]
This utility takes vector icons in svg format and converts them to icon fonts
(svg,ttf,waff,eot) to be display in all browsers.
positional arguments:
name name of the icon font you want
src folder wher the svg glyphs are
dest folder to output the stuff
optional arguments:
-h, --help show this help message and exit
--baseline BASELINE adjust generated chars up or down
example
python icons2font.py my_awesome_font ~/some_svgs ~/i2f_output --baseline 2
Requirements
- fontforge (with python library)
- ttf2eot
Mac installation
brew install fontforge ttf2eot
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].