Skip to content

Releases: fonttools/ufoLib2

v0.6.2

13 Mar 16:32
v0.6.2
7572a60
Compare
Choose a tag to compare
  • [LayerSet] load lazy layers from disk before renaming in renameLayer method, or returning them from get method. Fixed bug in LayerSet.renameGlyph.

v0.6.1

21 Feb 19:29
v0.6.1
9b69d21
Compare
Choose a tag to compare

Also added getBounds and getControlBounds methods to Contour and Component classes. They work the same way as with Glyph object (#54)
A layer parameter is required to compute the bounds of a component, to resolve references to the component's base glyphs.

v0.6.0

21 Feb 18:14
v0.6.0
83ffcf5
Compare
Choose a tag to compare
  • Support constructing a Font object from a path positional argument, like defcon.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 alternative Font.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 with lazy=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 our Glyph object does not (by design) hold a back-reference to its parent Layer; thus we cannot use @property getter/setter methods like defcon's leftMargin, 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

22 Nov 11:49
v0.5.1
9bb31e1
Compare
Choose a tag to compare
  • Fixed GaspBehavior enumerated bits (#44).

v0.5.0

06 Nov 13:05
efdbbee
Compare
Choose a tag to compare

Added methods to copy Glyph objects (#39).

v0.4.1

22 Oct 14:29
85e5764
Compare
Choose a tag to compare

Made lxml an optional requirement.

v0.4.0

16 Aug 17:23
Compare
Choose a tag to compare

The Python 3.6+ release.

Some internal reoragnization to check the code with Mypy.

v0.3.2.post2

21 Mar 10:20
e685526
Compare
Choose a tag to compare

Second attempt to deploy to PyPI.

v0.3.2.post1

20 Mar 23:05
Compare
Choose a tag to compare

Trying to deploy to Travis.

v0.3.2

20 Mar 22:48
Compare
Choose a tag to compare
  • <Glyph>.image = None now clears the image, like defcon.
  • GlyphPointPen.addComponent: explicitly take identifier argument, fontMath depends on this.