python-CairoSVG
No description set
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
8
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP4:FactoryCandidates/python-CairoSVG && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
CairoSVG-2.7.1.obscpio | 0262794254 251 MB | |
CairoSVG.obsinfo | 0000000097 97 Bytes | |
_service | 0000000579 579 Bytes | |
python-CairoSVG.changes | 0000009565 9.34 KB | |
python-CairoSVG.spec | 0000002438 2.38 KB |
Latest Revision
Ana Guerrero (anag+factory)
accepted
request 1109250
from
Daniel Garcia (dgarcia)
(revision 13)
- Update to 2.7.1: * Don't draw clipPath when defined after reference * Handle evenodd fill rule with gradients and patterns * Fix ratio and clip for "image" tags with no size * Handle data-URLs in safe mode * Use f-strings - Update to 2.7.0 (bsc#1209538, CVE-2023-27586): WARNING: this is a security update. When processing SVG files, CairoSVG could access other files online, possibly leading to very long renderings or other security problems. This feature is now disabled by default. External resources can still be accessed using the "unsafe" or the "url_fetcher" parameter. - add sle15_python_module_pythons (jsc#PED-68) - Make calling of %{sle15modernpython} optional. - update to 2.6.0: * Drop support of Python 3.5 and 3.6, add support of Python 3.9, 3.10 and 3.11 * Support crispEdges value for text antialiasing * Don’t crash when including CMYK images * Only update docstrings when not optimized * Don’t restore current point after empty paths * Assume that 1ch equals 0.5em * Fix various deprecation warnings - Update to version 2.5.2 * Fix marker path scale - Update to version 2.5.1 (bsc#1180648, CVE-2021-21236): * 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. - Update to 2.4.2: * Fix race condition in tests * Fix scale for images with no viewBox - Update to 2.4.1: * Fix the scale parameter * Allow href attributes with no namespace * Fix the tree root detection - Update to 2.4.0: * Fix aspect and position when resizing root SVG tag * Follow aspect and position hints when using forced output size - Update to 2.3.1: * Fix relative paths on Windows - Update to 2.3.0: * 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 - Ensure neutrality of description. - Remove superfluous devel dependency for noarch package - Update to version 2.1.3 * Fix T commands following q or t in paths - Update to version 2.1.2 * Fix font-size - Update to version 2.1.1 * Use http://www.w3.org/2000/svg as default namespace - Update to version 2.1.0 * Use cssselect2 and tinycss2 instead of cssselect and tinycss * Don't require lxml anymore * Rely on defusedxml to detect unsafe SVG files - Implement single-spec version. - Split Python2 version into separate package due to upstream dropping Python2 support. - Update to Version 2.0.3 * Add ``python_requires`` in ``setup.py`` - Update to Version 2.0.2 * Handle ``text-align`` in textPath tags * Test with Python 3.6 - Update to Version 2.0.1 * Don't crash on relative refs with no input URL - Update to Version 2.0.0 * Drop Python 2 support * Drop pycairo support * Rely on cairocffi, lxml, cssselect, pillow and tinycss * Fix markers * Fix URL/id handling * Use bounding boxes for gradients * Split deployment and development tests * Add a scale option * Add a parent size option * Test with Travis - Update to Version 1.0.22 * Fix crash when lxml is not installed - Update to Version 1.0.21 **WARNING:** this is a security update. CairoSVG was vulnerable to XML eXternal Entity (XXE) attacks, this release fixes this vulnerability by not resolving the XML entities anymore. The ``--unsafe`` option has been added to force the resolution of XML entities. Obviously, this option is not safe and should only be used with trusted SVG files. - Update to Version 1.0.20 * Allow the user to give parent size - Update to Version 1.0.19 * Drastically improve the performance of ``Node()`` - Update to Version 1.0.18 * Use cairo groups to apply filters - Update to Version 1.0.17 * Fix scale and position of markers - Update to Version 1.0.16 * Support the text-rendering property - Update to Version 1.0.15 * Use xMidYMid as default preserveAspectRatio value - Update to Version 1.0.14 * Support the shape-rendering property - Update to Version 1.0.13 * Fix end markers - Update to Version 1.0.12 * Don't crash when paths with markers end with a move_to action - Update to Version 1.0.11 * Allow commas in viewboxes - Update to Version 1.0.10 * Allow quotes around font names - Update to Version 1.0.9 * Don't crash when gradients are applied to paths - Update to Version 1.0.8 * Don't create an atomic layer for transparent tags with no children - Update to Version 1.0.7 * Fix scaling with negative viewBox origin * Automatically detect size and position of circles and ellipses for gradients - Update to Version 1.0.6 * Fall back to pycairo if cairocffi is unable to find the cairo library - Update to Version 1.0.5 * Don't inherit clip* and overflow properties * Don't transform the root svg tag according to the PreservAspectRatio attribute * Add simple support for alignment-baseline * Add cairocffi into setup.py deps - Update to Version 1.0.4 * Clear relative coordinates when absolute coordinates are set in tspan tags - Update to Version 1.0.3 * Fix clips and viewboxes * Don't draw an empty image when locale is not set - Update to Version 1.0.2 * Don't crash when locale is not set * Get the xml_tree from the root parent when creating nodes from string - Update to Version 1.0.1 * Don't crash when svg tag has no width or height - Update to Version 1.0 * CairoCFFI support * Support of more external CSS stylesheets * Handle more filters * Use pillow instead of pystacia * Fix a lot of bugs with text (whitespaces, text on a path, etc.) * Inherit attributes in ``use`` tags * Cache trees for ``use`` tags * Handle conditional structures - Initial version (0.5) for openSUSE.
Comments 0