Make rsvg-convert aware of units
Fixes #514 (closed) by making these changes in rsvg-convert:
-
The
--width
and--height
options now take CSS lengths, with optional units. -
New
--page-width
and--page-height
options to set the destination surface size, decoupling it from the rendered size of the document. -
New
--top
and--left
options to offset the rendered image from the top-left of the page. -
PDF/PS/EPS output takes into account that their Cairo surfaces are created in points, not pixels.
-
Greatly improved man page for rsvg-convert!
Edited by Federico Mena Quintero