Guillotine and guides creator

Bug #1502041 reported by Bart Van Audenhove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Alvin Penner

Bug Description

The extension Export > Guillotine does not take into account guides created with the extension Render > Guides creator.
To reproduce:
- open new document
- using Guides creator extension, divide the page eg. in 2 colums and 2 rows
- go to Extensions > Export > Guillotine and apply. There will only be one image generated (the whole page)

When dragging guides from the rulers, the Guillotine extension works as expected.

Inkscape 0.91 r13725 on Win 7 Pro.

su_v (suv-lp)
tags: added: extensions-plugins
Revision history for this message
Alvin Penner (apenner) wrote :

- confirmed on Windows 7, Inkscape 0.91 r13725 (Jan 30 2015)
- also confirmed on Windows XP, Inkscape rev 14357, using the attached drawing

there is a minor difference in the format used to specify the orientation. When dragging guides from the rulers, the following notation is used for the direction: orientation="1,0". On the other hand, the Python guides extension uses the notation : orientation="1052.3622,0". These are mathematically equivalent and do not affect the rendering of the guides, but it may be affecting the guillotine extension in some way.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Alvin Penner (apenner) wrote :

just writing to confirm the above supposition. attached is an edited version of the first svg file. It has been edited so that all orientations are specified as either (1,0) or (0,1). With this file the guillotine output appears to be correct.

Revision history for this message
Alvin Penner (apenner) wrote :

attached is a proposed modification of the guillotine extension to deal with this problem.
This can be tested by copying it to the Inkscape\share\extensions\ directory.

su_v (suv-lp)
Changed in inkscape:
assignee: nobody → Alvin Penner (apenner)
importance: Undecided → Low
milestone: none → 0.92
status: Confirmed → In Progress
Revision history for this message
Alvin Penner (apenner) wrote :

fix committed to rev 14397

Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp)
tags: added: backport-proposed
Revision history for this message
su_v (suv-lp) wrote :

Fix backported to 0.91.x in rev 13842.

Changed in inkscape:
milestone: 0.92 → 0.91.1
tags: removed: backport-proposed
jazzynico (jazzynico)
Changed in inkscape:
milestone: 0.91.1 → 0.92
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.