Releases: googlefonts/picosvg
Releases · googlefonts/picosvg
v0.22.0
- Drop support for Python 3.7 (which reached end of life), we now requires Python 3.8 or greater.
- Added option to --drop_unsupported elements (#298).
- Fixed AttributeError when removing a comment located at the root level, with inplace=True (#301).
v0.21.0
- Added
difference
method to picosvg.svg_pathops
(#286).
- Have picosvg remove processing instruction tags (e.g.
<?xpacket?>
) (#288).
- Added
allow_text
option to pass-through text/textPath/tspan elements (#289, #294).
- Added
bounding_box
method to SVG
class, returning the bounding box containing all the shapes in the SVG (#290).
- When applying inline CSS style properties to SVG element attributes, ignore properties whose name is not valid XML (e.g. vendor-specific keywords starting with '-') (#295).
v0.20.6
- Fixed bug whereby SVG.topicosvg() method was ignoring the ndigits parameter when inplace=False (#281, #282).
v0.20.5
- Fixed
AssertionError
when normalizing SVG path containing a degenerate arc command where the end point is equal to the previous command's end point (#278, #279).
v0.20.4
Partial fix for arc reuse; #272
v0.20.3
Fix #269, Subpaths that become empty after rounding are not dropped
v0.20.2
Fixed arc normalization (#266)
v0.20.1
Make subpath moveto absolute before removing empty ones (#264).