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.0.zip (519.6 kB view details)

Uploaded Source

Built Distribution

defcon-0.10.0-py3-none-any.whl (231.7 kB view details)

Uploaded Python 3

File details

Details for the file defcon-0.10.0.zip.

File metadata

  • Download URL: defcon-0.10.0.zip
  • Upload date:
  • Size: 519.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for defcon-0.10.0.zip
Algorithm Hash digest
SHA256 a009862a0bc3f41f2b1a1b1f80d6aeedb3a17ed77d598da09f5a1bd93e970b3c
MD5 2038619e953ea0ed6f7e7d1ee9c9da12
BLAKE2b-256 c0691ce8ecc807061e15901ea792d962d7f698aa0ce5259e8f680f86d0ec4213

See more details on using hashes here.

File details

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

File metadata

  • Download URL: defcon-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 231.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for defcon-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f5e5ee4dde51a43f3bddd5ef7909a9e75faf0ef572f4292c7df6fdc7afe3584
MD5 977c475ac49969798f5ad878cd2419e4
BLAKE2b-256 043813517a82da4543f5ea1ec1d6a35a302af12d35ec6bea3746d5f451e0dd0f

See more details on using hashes here.

Supported by

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