e2f9fd0a48
- 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
Daniel Garcia2025-12-10 08:47:04 +00:00
4a26de0ef6
Accepting request 1201362 from devel:languages:python
Ana Guerrero2024-09-16 15:43:22 +00:00
dff83e6bef
- 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.
Steve Kowalik2024-09-16 06:40:57 +00:00