Command-line verbs do nothing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
inkscape -f test1.svg --verb=
Opening test1.pdf shows it to be unrotated.
If instead --shell is used, i.e.:
inkscape --shell
(Following 2 lines entered at Inkscape's ">" prompt:)
-f test1.svg --verb=
quit
then after typing the first line, I also see 3 error messages:
** (inkscape.
** (inkscape.
** (inkscape.
The same (lack of) behaviour happens with ObjectFlipHoriz
test1.svg --verb=
--verb=
My system:
Inkscape 0.48.4 r9939
WinXP SP3
I'm aware of the inkscape .com/.exe issue on Windows; the above tests all use inkscape.com, as recommended. I did however notice that if the first command is changed to inkscape.exe to force the .exe to run, then the same .pdf file is generated -- but this happens almost instantaneously, instead of taking around 1s.
Verbs don't work wiithout GUI (bug #843260), pdf export however disables the GUI -> don't mix verbs with other command line options.
Use separate steps: EditSelectAll --verb= ObjectRotate90 --verb=FileSave --verb=FileQuit area-drawing --export- pdf=test2. pdf
$ cp test1.svg test2.svg
$ inkscape -f test2.svg --verb=
$ inkscape -f test2.svg --export-