Skip to main content

Tools for extracting data from font binaries into UFO objects.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ufo_extractor-0.3.0.zip (22.9 kB view details)

Uploaded Source

Built Distribution

ufo_extractor-0.3.0-py2.py3-none-any.whl (17.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ufo_extractor-0.3.0.zip.

File metadata

  • Download URL: ufo_extractor-0.3.0.zip
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for ufo_extractor-0.3.0.zip
Algorithm Hash digest
SHA256 5f1a2bbe181c2e8e6bf3e743bee324936ddb3ad8b4d277824ce06926d68b9b7f
MD5 354b94a84c2d5d3b648c78234eb40a20
BLAKE2b-256 2814d0cfa7549d7d6a6a9840c3c61ad0f110b08cf1b43753773193e3bbfc6512

See more details on using hashes here.

File details

Details for the file ufo_extractor-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: ufo_extractor-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for ufo_extractor-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8330b451a86149df07d7c78d6c82c811d75703d6802a217bf83223fe890a4d4f
MD5 04cb036bb22ac49f2692b30327b66754
BLAKE2b-256 a315c214e606ad1de2000152c21ce7539bb38b968cbcc9a9d5c82b85911ddf3f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page