1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
.. _index:
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 :ref:`base functionality <Subclassing>` so that you can focus on your application's behavior, not :ref:`object observing <Notifications>` or :ref:`maintaining cached data <Representations>`.
Basic Usage
^^^^^^^^^^^
defcon is very easy to use::
from defcon import Font
font = Font()
# now do some stuff!
Concepts
^^^^^^^^
.. toctree::
:maxdepth: 1
concepts/notifications
concepts/subclassing
concepts/externalchanges
concepts/representations
Objects
^^^^^^^
.. toctree::
:maxdepth: 1
objects/font
objects/layer
objects/glyph
objects/contour
objects/component
objects/point
objects/anchor
objects/info
objects/kerning
objects/groups
objects/features
objects/lib
objects/unicodedata
objects/notificationcenter
objects/base
objects/layerSet
Dependencies
^^^^^^^^^^^^
* `FontTools <https://github.com/behdad/fonttools>`_ >= 3.31.0, installed with
the `fonttools[ufo]` extra, required to import ``fonttools.ufoLib`` module.
Optional Dependencies
^^^^^^^^^^^^^^^^^^^^^
* `fontPens <https://github.com/robofab-developers/fontPens>`_
* `lxml <https://github.com/lxml/lxml/>`_
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
|