v0.8.0
- Added
bounds
andcontrolPointBounds
properties toLayer
andFont
objects, like in defcon API.
These return the union of the(xMin, yMin, xMax, yMax)
bounding boxes of all the glyphs in a layer, or in the default layer forFont
object.
bounds
computes a tight bounding box at the curves' extrema, whilecontrolPointBounds
only takes into account the control points (#82).