diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-10-14 17:17:22 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-10-14 20:41:17 +0000 |
| commit | b73dbb746ba026573dd7fc67a0cdf5ac9a934d4e (patch) | |
| tree | ec96b1f69b07c1465989018781de908f8b1ef756 | |
| parent | Support --export-margin when exporting to SVG (diff) | |
| download | inkscape-b73dbb746ba026573dd7fc67a0cdf5ac9a934d4e.tar.gz inkscape-b73dbb746ba026573dd7fc67a0cdf5ac9a934d4e.zip | |
Support --export-area-page when using --export-id to export to SVG
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index c40337cbe..792c1182a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1143,7 +1143,9 @@ static int sp_process_file_list(std::vector<gchar*> fl) } Inkscape::ObjectSet s(doc); s.set(obj); - s.fitCanvas(sp_export_margin ? true : false); + if (!sp_export_area_page) { + s.fitCanvas(sp_export_margin ? true : false); + } } if (sp_export_svg) { Inkscape::Extension::save(Inkscape::Extension::db.get("org.inkscape.output.svg.plain"), doc, sp_export_svg, false, |
