Skip to main content

svg2rlg is a python tool to convert SVG files to reportlab graphics.

The tool can be used as a console application to convert SVG to PDF files.

Known problems ( AKA todo list):
  • Missing support for elliptical arcs in paths. It is belived to be possible to convert arcs to quadratic beziers.

  • Text handling is limited.

  • Style sheets not supported.

Note that some limitations are due to limitation in the reportlab graphics package:
  • No gradients

  • No text on path

  • No filling rules (only odd-even)

A wxpython tool is included in the distribution which does a side by side comparison to the SVG test suite. Presently most of the official SVG 1.1 test suite is prefect.

Metadata

Release files for svg2rlg 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for svg2rlg 0.3
File Size Uploaded
svg2rlg-0.3.tar.gz 490.9 kB Details

Release files / svg2rlg-0.3.tar.gz

Download URL svg2rlg-0.3.tar.gz
Size 490.9 kB
Tags Source
SHA-256 checksum
How to use checksums
05db4480b90e912e08727d4cb24385fe33e8436def079b8f149b61a350638bee
BLAKE2b-256 checksum
How to use checksums
39b3dfa71a4627462789ade6fa3b32396be263ad043556f3ee133030d6c8d05d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page