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 <Subclassing>
so that you can focus on your application's behavior, not object observing <Notifications>
or maintaining cached data <Representations>
.
defcon is very easy to use:
from defcon import Font
font = Font()
# now do some stuff!
concepts/notifications concepts/subclassing concepts/externalchanges concepts/representations
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
- FontTools >= 3.31.0, installed with the fonttools[ufo] extra, required to import
fonttools.ufoLib
module.
genindex
modindex
search