skip to navigation
skip to content

ufo-extractor 0.2.0

Tools for extracting data from font binaries into UFO objects.

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.

 
File Type Py Version Uploaded on Size
ufo_extractor-0.2.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2016-12-19 17KB
ufo_extractor-0.2.0.zip (md5) Source 2016-12-19 20KB