Skip to content
Tools for extracting data from font binaries into UFO objects.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests add 'tests' folder for unit test modules (empty for now) Dec 19, 2016
.gitignore update .gitignore Dec 19, 2016
License.txt A new package that extracts data from font binaries into objects with… Mar 1, 2010 add for sdist Dec 19, 2016
setup.cfg Bump version: 0.2.0 → 0.2.1.dev0 Dec 19, 2016 fix url Jan 16, 2019
tox.ini add tox.ini configuration Dec 19, 2016


Travis Build Status PyPI Version Python Versions

UFO Extractor

Tools for extracting data from font binaries into UFO objects.


Import data into a Defcon Font instance:

>>> import extractor
>>> import defcon
>>> ufo = defcon.Font()
>>> extractor.extractUFO("/path/to/MyFont.ttf", 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.)


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.

You can’t perform that action at this time.