Skip to content

Releases: googlefonts/picosvg

v0.16.0

04 Jun 18:42
eb65dbe
Compare
Choose a tag to compare
  • 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

21 May 17:51
740aef4
Compare
Choose a tag to compare
  • 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

11 May 11:50
4012fe3
Compare
Choose a tag to compare

Fixed issue with inherited fill-opacity and stroke-opacity attributes (#218, #219)

v0.15.1

22 Apr 15:54
Compare
Choose a tag to compare
  • 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

09 Apr 17:10
61cf42d
Compare
Choose a tag to compare
  • 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

02 Apr 12:07
e8d48db
Compare
Choose a tag to compare
  • Handle stroke-opacity when un-grouping (#201)
  • Added method to resolve gradient templates (i.e. gradients with xlink:href) (#191, #199).

v0.13.0

24 Mar 12:09
5c9a0b5
Compare
Choose a tag to compare

svg_transform: add decompose_scale and decompose_translation

v0.12.1

16 Mar 17:12
v0.12.1
4277550
Compare
Choose a tag to compare
  • 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

03 Mar 18:58
ec37de8
Compare
Choose a tag to compare

Bug fixes found processing Noto flags

v0.11.1

05 Feb 23:34
365e972
Compare
Choose a tag to compare

Bugfix