| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python313-svglib | Distribution: openSUSE Tumbleweed |
| Version: 2.4.0 | Vendor: openSUSE |
| Release: 1.1 | Build date: Tue Nov 24 14:54:35 2026 |
| Group: Unspecified | Build host: reproducible |
| Size: 440282 | Source RPM: python-svglib-2.4.0-1.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://github.com/deeplook/svglib | |
| Summary: Python library for reading and converting SVG | |
Pure Python library for reading and converting SVG.
LGPL-3.0-only
* Tue Nov 24 2026 Nico Krapp <nico.krapp@suse.com>
- Update to 2.4.0
* <textPath> is now supported: text follows the <path> named by its href
or xlink:href, with startOffset (a length or a percentage) and
text-anchor, and styled <tspan> children. ReportLab can't draw text along
a path, so each glyph is placed and rotated individually, at the point of the
path under its midpoint; glyphs beyond the end of the path are dropped. Only
paths of the same document can be followed, and side, method, spacing
and per-glyph dx/dy/rotate are not supported
* The plain opacity property is now supported, as a presentation attribute,
in style attributes and in <style> rules, including percentages. Opacity
composes down the tree, so a shape at 0.5 inside a group at 0.5 is drawn at
0.25. It is applied per shape, so overlapping shapes inside a translucent
group show through each other, and images are not affected
* he CSS font shorthand is now expanded into font-style, font-weight,
font-size and font-family, in style attributes and in <style> rules.
Invalid shorthands are ignored
* Dropped support for Python 3.9 (and PyPy 3.9). pip 26.2.2, the new
minimum safe version, requires Python 3.10 or newer. requires-python is now
>=3.10, the 3.9 classifier is gone, and CI no longer tests 3.9 or PyPy 3.9.
* A style attribute or <style> rule whose value contains a colon or a
semicolon, such as cursor: url(http://example.com/c.cur), auto or a data
URL, no longer makes svg2rlg() fail with ValueError or truncates the
value. Declarations are now parsed with tinycss2, malformed ones are
skipped, and !important and comments are no longer part of the value
* baseline-shift on text is now also read from style attributes and
<style> rules, and a percentage is taken relative to the font size instead
of being used as a length in user units. A value on an enclosing <g> does
not affect the text, as the property is not inherited
* stroke-dasharray values that SVG calls invalid (any negative length, or a
list that sums to zero) no longer produce an invalid PDF dash pattern and
raise ValueError while rendering; they give a solid line. none no longer
relies on a swallowed exception, and an odd number of values is repeated once
to make it even, as the specification requires
- Update 2.3.3
* The limit on <use> expansions added in 2.3.1 counted expansions, not their
size. Each expansion copies and renders the whole element it refers to, so
a few kilobytes of nested <use> groups with a large group at the bottom
could still take minutes and gigabytes to render (CWE-400,
GHSA-xpfm-fw4h-qxwv, an incomplete fix of GHSA-555j-qj3j-c8jv). The elements
copied by all expansions of a document, external SVGs included, are now
limited too (MAX_USE_CLONED_ELEMENTS, 20,000); once it is spent the
remaining <use> elements are skipped and an error is logged.
- Update to 2.3.2
* A long run of digits in the arguments of a path arc command (A or a)
could make parsing take exponential time, so a tiny SVG could block a
process for minutes or longer (CWE-1333, CWE-400, GHSA-249c-7rgc-f52h).
Arc arguments are now read one token at a time, without regex backtracking.
Parsing of a malformed arc stops at the first argument that does not fit.
* Accept explicit plus signs on arc rotation and endpoints, and tab, carriage
return and line feed separators in transform arguments, as allowed by SVG
* svg2rlg() no longer unpacks a .svgz file to a sibling .svg file, which
overwrote an existing file of that name and then deleted it. The compressed
data is now read as a stream
* A <use> that refers to itself, or to a cycle of elements that each <use>
the next one, no longer crashes with RecursionError. The offending <use>
is skipped and an error is logged, as already done for cyclic references
between external files
- Update to 2.3.1 (fixes CVE-2026-132275, bsc#1291604)
* Rendering an SVG could be made to take exponential time and memory through
nested <use> elements, where each level references a group containing many
<use> elements of the previous level (CWE-400, GHSA-555j-qj3j-c8jv).
renderUse() now stops after MAX_USE_EXPANSIONS (10,000) expansions per
document, logs one error and skips the remaining <use> elements. The budget
is shared with the renderers of external SVG files, so referencing many
external files does not reset it.
- full changelog: https://github.com/deeplook/svglib/blob/main/CHANGELOG.md
* Fri Nov 28 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.6.0
* Replace setup.py with pyproject.toml, rework GitHub workflows (#405).
* Drop support for Python 3.8.
* Modernize codebase, added type annotations, expanded docstrings, etc.
* Add a Makefile.
* Add publishing workflows.
* Remove dunder constants and use importlib.metadata to get the version number.
- Install vg2pdf.1 as /usr/share/man//man1/svg2pdf.1
- Invoke chmod to fix permissions for src/svglib/__init__.py
- Remove sed command to remove shebang from svglib/svglib.py
- Remove touch command to create tests/__init__.py
- Update BuildRequires from pyproject.toml
- Use Python 3.11 on SLE-15 by default
* Mon Sep 16 2024 Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.5.1:
* Final fix to conversion from shorthand quadratic to cubic bézier.
* Add support for ex units (assuming for em/2).
* Add support for image/jpg embedded images (in addition to image/jpeg).
* Avoid crash on @import rules in stylesheets. The rules are simply
ignored.
* Fix conversion from shorthand quadratic to cubic bézier.
* Include tests/samples/others/*.svg in source distribution.
* Render leading and trailing text content in text nodes.
* Better integration with cssselect2 to support a wider range of CSS
selectors.
* Support mmult import from reportlab < 3.5.61.
* Make zero-length Line, PolyLine and Polygon appear in PDFs when their
stroke value is non-zero.
* <symbol> nodes now only appears in documents when they are referenced,
not on their initial appearance.
* If only rx or ry is defined on a <rect>, the value is used for both.
* Support non-prefixed href attribute added in SVG 2.
* Fixed parsing of empty SVG style nodes.
* Handle content of multiple SVG style nodes.
* Better font caching for some font names.
* Revert to scripts usage instead of console_scripts during setup.
* dropped support for Python 3.6 and added official support for Python
3.10.
* improved support for scientific notation in paths
* 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.
- Switch to pyproject macros.
- No more globs in %files.
* Tue Feb 22 2022 Dirk Müller <dmueller@suse.com>
- add missing runtime requires
* Fri Dec 24 2021 John Vandenberg <jayvdb@gmail.com>
- Initial package for v1.1.0
/etc/alternatives/svg2pdf /etc/alternatives/svg2pdf.1.gz /usr/bin/svg2pdf /usr/bin/svg2pdf-3.13 /usr/lib/python3.13/site-packages/svglib /usr/lib/python3.13/site-packages/svglib-2.4.0.dist-info /usr/lib/python3.13/site-packages/svglib-2.4.0.dist-info/INSTALLER /usr/lib/python3.13/site-packages/svglib-2.4.0.dist-info/METADATA /usr/lib/python3.13/site-packages/svglib-2.4.0.dist-info/RECORD /usr/lib/python3.13/site-packages/svglib-2.4.0.dist-info/REQUESTED /usr/lib/python3.13/site-packages/svglib-2.4.0.dist-info/WHEEL /usr/lib/python3.13/site-packages/svglib-2.4.0.dist-info/entry_points.txt /usr/lib/python3.13/site-packages/svglib-2.4.0.dist-info/licenses /usr/lib/python3.13/site-packages/svglib-2.4.0.dist-info/licenses/LICENSE.txt /usr/lib/python3.13/site-packages/svglib/__init__.py /usr/lib/python3.13/site-packages/svglib/__pycache__ /usr/lib/python3.13/site-packages/svglib/__pycache__/__init__.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/svglib/__pycache__/__init__.cpython-313.pyc /usr/lib/python3.13/site-packages/svglib/__pycache__/fonts.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/svglib/__pycache__/fonts.cpython-313.pyc /usr/lib/python3.13/site-packages/svglib/__pycache__/svglib.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/svglib/__pycache__/svglib.cpython-313.pyc /usr/lib/python3.13/site-packages/svglib/__pycache__/utils.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/svglib/__pycache__/utils.cpython-313.pyc /usr/lib/python3.13/site-packages/svglib/fonts.py /usr/lib/python3.13/site-packages/svglib/py.typed /usr/lib/python3.13/site-packages/svglib/svglib.py /usr/lib/python3.13/site-packages/svglib/utils.py /usr/share/doc/packages/python313-svglib /usr/share/doc/packages/python313-svglib/CHANGELOG.md /usr/share/doc/packages/python313-svglib/README.md /usr/share/licenses/python313-svglib /usr/share/licenses/python313-svglib/LICENSE.txt /usr/share/man/man1/svg2pdf-3.13.1.gz /usr/share/man/man1/svg2pdf.1.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Nov 28 22:00:45 2026