Tools for extracting data from font binaries into UFO objects.
Project description
UFO Extractor
Tools for extracting data from font binaries into UFO objects.
Features
Import data into a Defcon Font instance:
>>> import extractor
>>> import defcon
>>> ufo = defcon.Font()
>>> extractor.extractUFO("/path/to/MyFont.ttf", ufo)
>>> ufo.save("/path/to/MyFont.ufo")
Supported input formats:
CFF or TrueType-flavored OpenType fonts (*.otf, *.ttf)
FontTools TTX files (*.ttx)
WOFF 1.0/2.0 (*.woff, *.woff2)
PostScript Type1 fonts (*.pfa, *.pfb, etc.)
Installation
You can install extractor with pip:
$ pip install ufo-extractor
Note that, for historical reasons, the package is listed on the Python Package Index under the name ufo-extractor, to disambiguate it from another package also called “extractor”. However, the import name for the package remains extractor, without prefix.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ufo_extractor-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 992442ac36641d5c42a068ff37bf5623b35a69b6879acee4d50e245d8bb3cb32 |
|
MD5 | 3d837d1a4ea784c625f3410a59b98f1b |
|
BLAKE2b-256 | e708bdf85083613a4a94b2db20dc6c4ce714160741ec2848bf64653452c0e081 |