Support export-width and export-height for svg export

I'm using Inkscape to convert a PDF into PNG and SVG on the command line like so:

inkscape a.pdf  --export-type="png" --export-width=1000
inkscape a.pdf  --export-type="svg" --export-width=1000

Conversion to PNG works as expected. Conversion to SVG ignores the width option and instead produces an SVG of width 11581.547. Perhaps this can be worked-around with another inkscape call, but I'm not sure how.

The same goes for the other dimensionality specs, too.

  • Inkscape Version: 1.1.1 (inkscape@3bf5ae0d, 2021-09-20).
  • Operating System: Ubuntu Linux
  • Operating System version: 22.04

a.pdf

Edited by Nathan Lee