Svglib

Latest version: v1.5.1

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

Scan your dependencies

Page 3 of 4

0.9.2

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

- fixed license mention in the svg2pdf script (194)
- support the whole range of HTML color names for color styles (203)
- fixed a division by zero error when width/height are missing in main viewBox
(195)

0.9.1

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

- fixed rendering of circular arcs in some edge cases (189)
- support for percentage attribute values has been added (141)
- SVG viewbox is now properly scaled to its width/height attributes (121)
- embedded external SVG files or file fragments are now rendered (175)
- support <rect> as a clipping source
- prevented crash when a relative file path is used in a memory-only SVG
source (173)
- fixed image translation (by y value instead of x)

0.9.0

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

- fixed svgz output on Python 3
- kept PDF standard fonts untouched (89)
- added basic support for non-standard fonts (89, 107)
- allowed list of font names
- better merge style attributes from parent nodes (119)
- fixed crash with strings in transform parameters
- handled PNGs embedded in SVG sources (93)
- improved scaling of embedded SVGs (124)
- added millimeter unit support
- fixed crash in elliptical arc calculation (117)
- added experimental support for CSS style sheets (111)
- allowed decimal percentage values in rgb colors

0.9.0b0

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

- countless improvements to be hopefully listed in more detail in 0.9.0

0.8.1

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

- added support for the ``stroke-opacity`` property
- added basic em unit support for text placement
- added respecting absolute coordinates for tspan
- fixed crash with empty path definitions
- symbol definitions are considered when referenced in nodes
- fixed compatibility with recent ReportLab versions

0.8.0

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

This release introduces *many* contributions by Claude Paroz, who
stepped forward to give this project a long needed overhaul after ca.
six years of taking a nap, for which I'm really very grateful! Thanks,
Claude!

- moved repository to https://github.com/deeplook/svglib
- skipped version 0.7.0 to indicate tons of fixes regarding the points below
- added support for elliptical arcs
- fixed open/closed path issues
- fixed clip path issues
- fixed text issues
- replaced ``minidom`` with ``lxml``
- added ``logging`` support
- added a few more sample SVG files
- migrated test suite from unittest to pytest
- improved test documentation

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.