pdf-export using the --export-area-drawing option

Bug #1102069 reported by Wolfgang Hammel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
John Smith

Bug Description

Hi,

I'm using inkscape on the command line to convert *.svg-files to *.pdf-files for later inclusion in LaTeX.
For this I use the --export-area-drawing option to get a pdf with a bounding box that fits around all drawn elements.
As I like the new snapping features I usually use the nightly builds.
pdf-output worked as expected until r11604, but all releases newer than r11738 output always a pdf-file with the size of the complete drawing area. However there are some intermediate releases between r11656 and r11698 that crash with the same command line options.

I have attached a simple svg-file that allows to reproduce the problem and the generated pdf-files from some different nightly-builds.

Command line was:
C:\Programme\Inkscape\rXXXXX\inkscape.exe --export-pdf rectangle_XXXXX.pdf --export-area-drawing --export-area-snap rectangle.svg

Thanks for this great software.

Wolfgang

Platform: Win-XP, SP3, fully patched

Revision history for this message
Wolfgang Hammel (wolfgang-hammel) wrote :
su_v (suv-lp)
tags: added: cli
removed: command-line
Revision history for this message
Wolfgang Hammel (wolfgang-hammel) wrote :

should read:
pdf-output worked as expected until r11604, but all releases newer than r11738 output always a pdf-file with the size of the entire page.

Revision history for this message
su_v (suv-lp) wrote :

> However there are some intermediate releases between
> r11656 and r11698 that crash with the same command line options.

Crash tracked in bug #1059132, introduced in r11654 and fixed in r11718 - however, r11718 and later revisions fail to honor the command line options for the export area (reproduced on OS X 10.7.5), and always export the page area on the command line.

The same option works ok with the GUI until r12267, which broke the option in the GUI (probably while attempting to fix this one).

tags: added: regression
Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.49
status: New → Triaged
Revision history for this message
su_v (suv-lp) wrote :

Related:
- Bug #1171434 “trunk: INX <optiongroup> broken"
  <https://bugs.launchpad.net/inkscape/+bug/1171434>
(command line options for export area work with r12267 and later revisions, but now are broken in the GUI)

Revision history for this message
John Smith (john-smithi) wrote :

Issue seems resolved using r12322.

Changed in inkscape:
status: Triaged → Fix Committed
assignee: nobody → John Smith (john-smithi)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.