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.4.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ece6d2e4ea2de53b6dc1e39dae655d80e8662bd610c1070f3ee58936c060fd6 |
|
MD5 | fcbe612977a4dbe7404d44e656c360e4 |
|
BLAKE2b-256 | 96198b43d003b05a802ecb8b2a7a47fac00ead765cca72572b60a3bc782138e5 |