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.)
FontLab files (*.vfb)
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
File details
Details for the file ufo_extractor-0.6.1.zip
.
File metadata
- Download URL: ufo_extractor-0.6.1.zip
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d8a1f13e2bf39848dfaf15c428242cfc2823e9c10b8df4821efaba8a2908ae |
|
MD5 | f6bcaf93ea6939a28a4e4b73c90b52bc |
|
BLAKE2b-256 | 4a7f5e30c3adb11d64b2ac10ca325180f3de5394990b967b8e20f25663c4331d |
File details
Details for the file ufo_extractor-0.6.1-py2.py3-none-any.whl
.
File metadata
- Download URL: ufo_extractor-0.6.1-py2.py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0c6d42c8b06e91ee627205556239d58cae51871082633da2ed803e5d226028e |
|
MD5 | 4801bc60b3e1978e7278969e5aabf5b6 |
|
BLAKE2b-256 | a1ff5729b9d3c3bb70ec5612dafd061cd1449c3038ca484c8c3fa9fc39e3fb32 |