Skip to main content

A set of flexible objects for representing UFO data.

Project description

CI 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.10.3.zip (519.8 kB view details)

Uploaded Source

Built Distribution

defcon-0.10.3-py3-none-any.whl (231.9 kB view details)

Uploaded Python 3

File details

Details for the file defcon-0.10.3.zip.

File metadata

  • Download URL: defcon-0.10.3.zip
  • Upload date:
  • Size: 519.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for defcon-0.10.3.zip
Algorithm Hash digest
SHA256 56de26d7c75f164eea03e28bc11b4c769c68d705fa186dfcaeb56c27f9a4cc0c
MD5 e74ab26b1119bcc403f1ea4cb8b69a42
BLAKE2b-256 7a9eebce8d0eec62c7e6c676bf2e2e39feeafbfe78711355df4a7e5974b2ae06

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: defcon-0.10.3-py3-none-any.whl
  • Upload date:
  • Size: 231.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for defcon-0.10.3-py3-none-any.whl
Algorithm Hash digest
SHA256 74973bd61653477e3b7ff7786ee91dac591ab6a630494d788e6640f60004fff6
MD5 6bbce122441c4d74e1ff51d08d9488c7
BLAKE2b-256 39ab3b83cf25ad9731e11f6e1a77e1ab0d3499f1cb2d71a094fb9acf5be61e28

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