Releases: meerk40t/svgelements
CSS style (without semicolon) + local style combinations
- Jpirnay fixed a bug where a references CSS style if it was missing a
;
would not correctly concat with attribute level styles.
What's Changed
New Contributors
Full Changelog: 0.6.13...1.6.14
Approximate Curve as Circular Arcs
- Approximate curves as circular arcs added.
- Corrections to subpath to correct for
M0,0ZZ
andM0,0ZL2,2
legal but edge condition paths.
Subpaths of degenerate Paths no longer crash.
- Subpaths of degenerate paths no longer crash with unbounded local. This bug was introduced in #134 and those changes were manually reverted.
Correct len(copy(Polygon(0,0))) == 1.
What's Changed
- The length of a copy of a polygon of a single point correctly preserves that single point in the copy. Previous versions would create a 0-point polygon out of this degenerate polygon.
- Fix Issue #172, .github directory by @tatarize in #173
Full Changelog: 1.6.10...1.6.11
Angle.as_radians and svg-vh-units
What's Changed
- Fix Angle.as_radians by @Sophist-UK in #167
- Viewbox Render by @tatarize in #168
Angle.as_radians returns a explicit float.
<svg width=100vh>
like units now correctly work as the viewport is passed to the length values
Full Changelog: 1.6.9...1.6.10
BGR Color References
- Adds in BGR color references. This component order is seen in some systems like wxPython.
Correct Image.Render reference issue
Corrects image render issue with a typo added in 1.6.6
Correct Issue #157, text ids misparsed
Text ids set by value would not set by value because the was no call to SVGElement value set routine.
1.6.5 with_stroke (when no stroke), and text in display:none
- Correct issue #152
with_stroke
no longer adds stroke to bbox if the stroke is set to none or is unset.
1.6.4
- Adds in robust dataurl parsing, Support data:image/bmp;base64 #133
- Case sensitive display property, "display: None" is css and case insensitive but treated as case sensitive. #119
- Overflow error calculating bounding boxes,
What's Changed
-
Implement code quality checks for svgelements by @Sophist-UK in #141
-
Add with_stroke to Subpath bbox. by @Sophist-UK in #135
-
Reimplement pylint sections of pyproject.toml by @Sophist-UK in #142
-
Unittests only with scipy & numpy by @Sophist-UK in #143
-
Label pull requests by @Sophist-UK in #145
-
Enable failure code for lints by @Sophist-UK in #144
-
2nd attempt at labelling by @Sophist-UK in #146
Full Changelog: 1.6.3...1.6.4