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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Lib/extractor
tests add 'tests' folder for unit test modules (empty for now) Dec 19, 2016
.gitignore update .gitignore Dec 19, 2016
.travis.yml
License.txt A new package that extracts data from font binaries into objects with… Mar 1, 2010
MANIFEST.in add MANIFEST.in for sdist Dec 19, 2016
README.rst
requirements.txt
setup.cfg Bump version: 0.2.0 → 0.2.1.dev0 Dec 19, 2016
setup.py fix url Jan 16, 2019
tox.ini add tox.ini configuration Dec 19, 2016

README.rst

Travis Build Status PyPI Version Python Versions

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.

You can’t perform that action at this time.