Skip to main content

Convert SVG to Reportlab drawing

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

svg2rlg-0.3.tar.gz (490.9 kB view details)

Uploaded Source

File details

Details for the file svg2rlg-0.3.tar.gz.

File metadata

  • Download URL: svg2rlg-0.3.tar.gz
  • Upload date:
  • Size: 490.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for svg2rlg-0.3.tar.gz
Algorithm Hash digest
SHA256 05db4480b90e912e08727d4cb24385fe33e8436def079b8f149b61a350638bee
MD5 4aa0152ade21d16a98c887b05ba7c2b6
BLAKE2b-256 39b3dfa71a4627462789ade6fa3b32396be263ad043556f3ee133030d6c8d05d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page