Skip to content

Releases: fonttools/ufoLib2

v0.3.1

07 Mar 10:19
6bd04d3
Compare
Choose a tag to compare

Minor: Fix attrs' DeprecationWarnings regarding convert vs. converter in field initializers. Reduces noise in test runs.

v0.3.0

17 Dec 11:11
Compare
Choose a tag to compare
  • Image and Component: Remove transformation properties, leave as plain attribute.
  • Use fontTools.misc.transform.Transform instead of our own Transformation
  • Image.transformation and Component.transformation default to fontTools.misc.transform.Identity().
  • Contour now behaves like a collections.abc.MutableSequence. append(), clear(), remove() and reverse() should now be done on the actual points.
  • Info: all attributes are now optional, avoiding writing empty lists to fontinfo.plist.
  • LayerSet: load layers on iteration.
  • Font.guidelines returns [] if Info.guidelines is None. This allows to blindly iterate over Font.guidelines.
  • DataStore.write(): Data is now actually retained in-memory before the reader is deleted when saving as. Before, data that had not been accessed was written to disk but not formally loaded into DataStore.data

v0.2.1

25 Oct 19:54
v0.2.1
402440d
Compare
Choose a tag to compare

Fixed a issue reading layer name when lazy=False.

v0.2.0

25 Oct 18:48
v0.2.0
1705bf8
Compare
Choose a tag to compare

Use fontTools.ufoLib and remove duplicated modules.
Requires fonttools[ufo,lxml] >= 3.31.

One notable breaking change is that Font class no longer takes a 'path' as first positional argument. It now only accepts keyword arguments, which may be used to initialize its various attributes.
To load a UFO from a path, there is an alternative classmethod constructor open: e.g.

font = Font.open(path)

The Font.open method optionally takes lazy=False and validate=False options.

v0.1.3

28 May 14:08
95fadc9
Compare
Choose a tag to compare

Import unicode_literals in ufoLib2/constants.py. Fixes issue in python2.7, whereby constant strings such as the default layer folder "glyphs" where being written out to plist as base64-encoded binary data.

v0.1.2

23 May 17:06
cf460f3
Compare
Choose a tag to compare

Added verticalOrigin property to Glyph object.

v0.1.1

23 May 12:23
v0.1.1
60cd1fa
Compare
Choose a tag to compare
  • Image always has a non-None, default transformation (1,0,0,1,0,0).

v0.1.0

22 May 14:33
2c2725a
Compare
Choose a tag to compare

Initial release