- Update to version 2.5.1.
* Security fix: When processing SVG files, CairoSVG was using two
regular expressions which are vulnerable to Regular Expression
Denial of Service (REDoS). If an attacker provided a malicious
SVG, it could make CairoSVG get stuck processing the file for a
very long time.
* Fix marker positions for unclosed paths
* Follow hint when only output_width or output_height is set
* Handle opacity on raster images
* Don’t crash when use tags reference unknown tags
* Take care of the next letter when A/a is replaced by l
* Fix misalignment in node.vertices
- Updates for version 2.5.0.
* Drop support of Python 3.5, add support of Python 3.9.
* Add EPS export
* Add background-color, negate-colors, and invert-images options
* Improve support for font weights
* Fix opacity of patterns and gradients
* Support auto-start-reverse value for orient
* Draw images contained in defs
* Add Exif transposition support
* Handle dominant-baseline
* Support transform-origin
- Add _service file to fetch required submodule.
OBS-URL: https://build.opensuse.org/request/show/862141
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=20
* Drop Python 3.4 support
* Make text selectable on generated PDF files
* Don't inherit dx and dy attributes
* Fix support of alignment-baseline="hanging"
* Fix backslashes in docstrings and comments
* Fix local anchors with files with no given URL
* Close VERSION's file descriptor
* Fix T commands used with previous relative commands in paths
* Use real functions for svg2* commands, improving IDE integration
* Handle image-rendering property
* Fix crash with some text samples
* Fix position of embedded svg tags with a viewbox not at position (0, 0)
* Add output-width and output-height options
* Handle references to inner document tags defined after the anchor
* Fix offsets for texts on paths
- Run tests manualy reducing the test dependencies a bit
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=9