Skip to main content

A set of flexible objects for representing UFO data.

Project description

Travis Build Status Appveyor Build Status Coverage Status Python Versions PyPI Version

Defcon

Defcon is a set of UFO based objects optimized for use in font editing applications. The objects are built to be lightweight, fast and flexible. The objects are very bare-bones and they are not meant to be end-all, be-all objects. Rather, they are meant to provide base functionality so that you can focus on your application’s behavior, not object observing or maintaining cached data. Defcon implements UFO3 as described by the UFO font format. If needed, the ufo2-deprecated branch has the older, UFO2, version of Defcon.

Install

To download and install the latest stable release of defcon from the Python Package Index, use the pip command line tool:

pip install --upgrade defcon

To install with the fontPens package —used for Glyph.correctDirection() and Contour.contourInside()— do:

pip install --upgrade defcon[pens]

To optionally install defcon with support for lxml, a faster XML reader and writer library, you can do:

pip install --upgrade defcon[lxml]

You can separate multiple extras using a comma: defcon[pens,lxml].

Documentation

Documentation for Defcon lives at defcon.robotools.dev.

Copyrights

This package is distributed under the MIT license. See the license. Defcon is built in Python. Parts of RoboFab use fontTools, an OpenSource font toolkit started by Just van Rossum. Parts of Defcon implement the Property List file format in XML, copyright Apple Computer. Parts of Defcon implement tables and names from PostScript and the OpenType FDK, copyright Adobe.

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

defcon-0.7.2.zip (508.4 kB view details)

Uploaded Source

Built Distribution

defcon-0.7.2-py3-none-any.whl (228.3 kB view details)

Uploaded Python 3

File details

Details for the file defcon-0.7.2.zip.

File metadata

  • Download URL: defcon-0.7.2.zip
  • Upload date:
  • Size: 508.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.1

File hashes

Hashes for defcon-0.7.2.zip
Algorithm Hash digest
SHA256 1967eaa23dcc8e1cbe3bd130aae4d9ddb72027b62d3e23eeb640065cfbd6d8d1
MD5 fe6b3ba253cc8ffdba235e07346f0387
BLAKE2b-256 df2c4b4e3739eefb2a2d176ef42a45544e87f710cfcc164d4d9eb315616f7d49

See more details on using hashes here.

Provenance

File details

Details for the file defcon-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: defcon-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 228.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.1

File hashes

Hashes for defcon-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d00f91c60c4a411276dab30a9129e34a7a118f41493c4971541ad9287985807f
MD5 f7c5d2b1c548c120a1f97c640acab1a8
BLAKE2b-256 b70356963a761b9fc6ad8e0fd7ccbf08f0d3f5c9eb5b3aa3f01d6bd96118cd86

See more details on using hashes here.

Provenance

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