Export with export-id and non-A4 page gives blank PDF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
I'm having two SVG documents that each contain multiple grouped drawings that I want to export by ID.
The first SVG file is A4-portrait-sized and exports just fine:
inkscape --export-id=$@ --export-
The second SVG file is A5-landscape-sized and exports to blank PDFs. I have found the reason for this to be that the layer group contains a vertical translation of about -527 to move the drawing into the page area. This translation seems not to be correctly resolved into the PDF file.
When I edit the SVG file directly, set the translation to 0 and open the document in Inkscape, the drawing is vertically below the page area. (EOG shows the SVG as a blank page now.) If I set the page dimensions to A4 portrait, save and edit the SVG file manually again and set the translation to 0 again, the drawing lies nicely on the page.
From this I conclude that the PDF export does not respect the translation and places the drawing outside the visible area.
Inkscape version: Inkscape 0.48.5 r10040
OS/platform: Linux/64 bit
description: | updated |
Changed in inkscape: | |
status: | Incomplete → New |
Please add information about OS/platform and Inkscape version (see Inkscape menu 'Help > About Inkscape') to the bug description, and attach sample SVG files to ease further investigation of the reported problem.