Releases: fonttools/ufoLib2
Releases · fonttools/ufoLib2
v0.6.2
- [LayerSet] load lazy layers from disk before renaming in
renameLayer
method, or returning them fromget
method. Fixed bug inLayerSet.renameGlyph
.
v0.6.1
v0.6.0
- Support constructing a
Font
object from apath
positional argument, likedefcon.Font(path)
does (#47).
This is to ease up projects that wish to support both defcon and ufoLib2.
If defcon compatibility is not a concern we strongly recommend to use the alternativeFont.open
@classmethod
constructor, as we believe it's more idiomatic and better suits the overall data-classes approach in ufoLib2. - Support comparing for equality and deep-copying
Font
objects even when loaded withlazy=True
(#47). - Added
Glyph.appendContour
, similarly for defcon compatibility (#48). - Make
Glyph.name
optional, like in defcon (#51). - Added methods to compute bounds and get/set left, right, top and bottom side-bearings (#22, #52, #53).
This time we could not match defcon API, because ourGlyph
object does not (by design) hold a back-reference to its parentLayer
; thus we cannot use@property
getter/setter methods like defcon'sleftMargin
, etc. but need the caller to pass as a parameter the glyphset from which to resolve component references for computing bounding box of composite glyphs.
v0.5.1
v0.5.0
v0.4.1
Made lxml
an optional requirement.
v0.4.0
v0.3.2.post2
Second attempt to deploy to PyPI.
v0.3.2.post1
Trying to deploy to Travis.