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.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8330b451a86149df07d7c78d6c82c811d75703d6802a217bf83223fe890a4d4f |
|
MD5 | 04cb036bb22ac49f2692b30327b66754 |
|
BLAKE2b-256 | a315c214e606ad1de2000152c21ce7539bb38b968cbcc9a9d5c82b85911ddf3f |