Save as PDF+LaTeX doesn't respect export region for text export

Bug #1395031 reported by Stefan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

Inkscape 0.48.5 r10040

Open attached "inside_outside.svg" with Inkscape. You see one box containing the text inside, and one box containing the text outside. The box inside is located inside the document page, the other one is located outside.

Now save this file as pdf. In the pdf settings dialogue make following preferences:
Restrict to PDF version [PDF 1.5] (but I think this doesn't matter)
Convert texts to paths [ ]
PDF+LaTeX: Omit text in PDF, and create LaTeX file [X]
Export area is drawing [ ]
Export area is page [X] <-- this one is relevant

Click okay.

So you get two files:
* inside_outside.pdf
It's all okay here, the file contains of one box as it should

* inside_outside.pdf_tex
next to some comments and necessary LaTeX stuff, this file contains two lines (line 53 and 54 for me) including our text:
    \put(0.50846671,0.70846671){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{inside}}}%
    \put(1.50846667,0.70846671){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{outside}}}%

The first line is perfectly okay, it should be there becaus its the "inside" text for our first box.
The second line shouldn't be there (this is the bug!) because it's the text for the "outside" box, that we didn't want to export.

Revision history for this message
Stefan (8-launchpad-14) wrote :
jazzynico (jazzynico)
tags: added: exporting
Changed in inkscape:
importance: Undecided → Medium
Changed in inkscape:
status: New → Confirmed
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.