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.2.0.zip (21.0 kB view details)

Uploaded Source

Built Distribution

ufo_extractor-0.2.0-py2.py3-none-any.whl (18.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ufo_extractor-0.2.0.zip.

File metadata

  • Download URL: ufo_extractor-0.2.0.zip
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ufo_extractor-0.2.0.zip
Algorithm Hash digest
SHA256 01564f1f1675e3cb1aec116d8344b7c4993fbef8dca8f636185783e7baa5680d
MD5 65ed9cb3ee29bfb6780cb3ff9da9ec15
BLAKE2b-256 b1e42c7fe256c201435bd5f47c3890e4608e327629482048becada6de789fc8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ufo_extractor-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 992442ac36641d5c42a068ff37bf5623b35a69b6879acee4d50e245d8bb3cb32
MD5 3d837d1a4ea784c625f3410a59b98f1b
BLAKE2b-256 e708bdf85083613a4a94b2db20dc6c4ce714160741ec2848bf64653452c0e081

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