Svglib

Latest version: v1.5.1

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.2.0

------------------

- dropped support for Python 3.6 and added official support for Python 3.10.
- improved support for scientific notation in paths (277)
- if some path has a color with alpha value, it also sets the default fill or
stroke opacity of the resulting object.
- matrix transforms on groups are combined with other transforms instead of
replacing them.

1.1.0

------------------

- honor cascading when applying CSS rules (253)
- ignore !important statement in CSS values (227)
- svg2rlg accept pathlib.Path input (97)
- better handling of font variants (bold, italic)
- a demo for using svglib inside a Streamlit application in /demos
- add a svg2pdf man page
- dropped official support for Python 3.5 and modernized to 3.6+
- added official support for Python 3.9.

1.0.1

------------------

- avoid stroking clipping paths (238)
- when converting percentage values in embedded SVGs, consider the direct svg
parent node (246)
- fixed rounded rects artifacts when rx/ry values are too high (250)
- avoid stroking rects when strokeWidth is 0 (250)

1.0.0

------------------

- dropped Python 2 support
- fixed references to <defs> content when placed middle or end of
SVG documents (225)
- fixed elliptic arcs reading when arc flags are condensed (232)

0.9.4

------------------

- disabled external entity loading by default (229 - CVE-2020-10799)

0.9.3

Not secure
------------------

- WARNING: this is the last release supporting Python 2!
- added support for more color values (hex with alpha, rgba(), etc.)
(213, 115)
- handle text positioning when x, y, dx, dy have a list of values
- fixed styles precedence issue (211)

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.