Releases: fonttools/ufoLib2
v0.3.1
v0.3.0
Image
andComponent
: Removetransformation
properties, leave as plain attribute.- Use
fontTools.misc.transform.Transform
instead of our ownTransformation
Image.transformation
andComponent.transformation
default tofontTools.misc.transform.Identity()
.Contour
now behaves like acollections.abc.MutableSequence
.append()
,clear()
,remove()
andreverse()
should now be done on the actualpoints
.Info
: all attributes are now optional, avoiding writing empty lists tofontinfo.plist
.LayerSet
: load layers on iteration.Font.guidelines
returns[]
ifInfo.guidelines
isNone
. This allows to blindly iterate overFont.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 intoDataStore.data
v0.2.1
Fixed a issue reading layer name when lazy=False.
v0.2.0
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
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
Added verticalOrigin property to Glyph object.
v0.1.1
- Image always has a non-None, default transformation (1,0,0,1,0,0).
v0.1.0
Initial release