Defcon

Latest version: v0.12.1

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.7.0

- Dropped support for Py2, now only Py3
- Updated documentation: 232
- Fixed docstring typos (thanks Space0726!): 263
- added notification: Font.GuidelineWillBeAdded: 239
- Fixes for UFOZ (209 testForExternalChanges and 218 glyphSet is required): 220
- Added close to font: 269
- Setting `glyph.unicode` will now set `glyph.unicodes` to a one member list: 258
- Add notifications for: `Glyph.LeftMarginWillChange`, `Glyph.LeftMarginDidChange`, `Glyph.RightMarginWillChange`, `Glyph.RightMarginDidChange`, `Glyph.TopMarginWillChange`, `Glyph.TopMarginDidChange`, `Glyph.BottomMarginWillChange`, `Glyph.BottomMarginDidChange`: 253
- Improved joinSegments: 259
- Added identifier to addComponent callback: 268
- Fix glyphs with components getting proper area value: 272
- Use ufoFormatTuple: 289
- Add ufoFormatVersionTuple property, deprecate ufoFormatVersion: 291

0.6.0

- Added support for reading and writing fonts in `.ufoz` (zipped UFO) format.
This requires the latest fonttools >= 3.31 installed with the `[ufo]` extra.
The `ufoLib` module has been merged into fonttools as `fontTools.ufoLib`, so it is no longer required as such by defcon (fonttools was and is still required).
- [unicodeTools] Use the fontTools.unicodedata module (updated to Unicode 11).

0.5.3

- Fixed issue with `Glyph.correctContourDirection` when sorting contours with the same area on python 3 (199).
- [travis] Fixed PyPI auto-upload on tags.

0.5.2

- When calculating area, auto close pen (this is somewhat controversial, and may change in the future)
- Provides identifier for the transformPointPen
- Improve debugging of held notifications
- Add validation support (see validation options in UFOLib)
- Update methods for UFOLib 2.3.1

0.5.1

- No longer stores representations in objects without a dispatcher.

0.5.0

- Added kerning.find() method, to find a value for a pair, even if the pair is not specifically defined in the kerning; i.e., the method is given a glyph name that has kerning, but only because it is in a kerning group.

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.