You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
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).
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.