Releases: googlefonts/picosvg
Releases · googlefonts/picosvg
v0.16.0
- Affine2D: define
__matmul__
'@' infix operator; deprecated Affine2D.product() (#227).
- Allow to run
SVG.evenodd_to_nonzero_winding()
in insolation, without
having to first convert all shapes_to_paths
(#231).
v0.15.3
- SVGRadialGradient: parse 'r' and 'fr' as lengths relative to viewport normalized diagonal (#222).
- Added pretty_print parameter to SVG.tostring()
- Fixed parsing of 'A' large-arc and sweep flags when not separated by space or comma (#225).
v0.15.2
Fixed issue with inherited fill-opacity and stroke-opacity attributes (#218, #219)
v0.15.1
- When flattening groups, also copy inherited attributes defined in the root
<svg>
element (#208).
- Remove overlaps after converting strokes to outlines (#209).
v0.15.0
- Strip
id
when copying <stop>
elements from a gradient template (#205)
- Strip old HTML
<comment>
elements (#204)
- Added
preserveAspectRatio
parameter to Affine2D.rect_to_rect
(#202)
- Added method to resolve nested
<svg>
elements. They are replaced with a <g>
element containing a transform
attribute. Clipping the nested viewport and resolving relative percentages relative to the nested viewport is still not supported (#203).
v0.14.0
- Handle
stroke-opacity
when un-grouping (#201)
- Added method to resolve gradient templates (i.e. gradients with
xlink:href
) (#191, #199).
v0.13.0
svg_transform: add decompose_scale and decompose_translation
v0.12.1
- Fixed un-grouping when inherited transform is identity (#193)
- Added
--output_file
flag
- Handle tricky paths that may throw PathOpsError in skia-pathops when checking if an
SVGPath.might_paint()
(#196).
- Fix parsing SVG transforms when they contain leading/trailing whitespace (#197).
v0.12.0
Bug fixes found processing Noto flags