Skip to content

Bug Fixes

Compare
Choose a tag to compare
@tatarize tatarize released this 02 Nov 14:56
· 578 commits to master since this release
8f3d57d
  • Coord values without points raise ValueErrors. Path("sn") will throw an error rather than create a faulty object.
  • Various dunder methods will return NotImplemented explicitly.
  • Adding a Path with something that cannot add be added to it, will register a TypeError rather than recurse an infinite loop.
  • Reify performed on a shape with a stroke width will be scaled up by a factor of the sqrt(abs(det)) of the matrix.
  • Validate Subpaths will not be applied to position -1 as could happen in Path.extend() on an empty path.
  • scale values for round shapes during reification is done as the absolute value. This is to correct the inverted sweep issue.
  • Roundshapes have an added _ramanujan_length value.
  • Subpaths now accept slices as part of getitem.
  • svg_structure_parse now parses event start-ns and saves the namespaces used in the values dict.
  • Default colors for fill are "black" and stroke is "none" rather than automatically setting them to the currentcolor, these values match the svg spec.