Pattern control handle outside of page causes incorrect bounding box when exporting to EPS.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Medium
|
Unassigned | ||
Inkscape Devlibs |
Triaged
|
Medium
|
Unassigned |
Bug Description
I am using Inkscape 0.48 on a Windows 7 64-bit OS.
I encounter this problem when I save a drawing as an EPS and the export area I've selected includes a figure with pattern fill. If the handles controlling that object's pattern are outside the area, then the bounding box of the EPS figure grows to include the handle. This could be considered logical behaviour, and not a bug, when I select 'Export area is drawing,' but this also occurs when I select 'Export area is page' and the handles lie outside the page. (Even with 'Export area is drawing' selected, I'd expect to export the visible objects, and not have this handle effect the export area, but I see how this is debatable.)
Here is how I produce this error:
- Open a new document (I chose Default type)
- Draw a rectangle inside the page with the 'Create rectangles and squares' tool (Alternately, draw a shape with the bezier tool).
- In the 'Fill and Stroke' interface, give the shape a pattern.
- Use the node tool to move the pattern handles off the page.
- Use 'File\Save as' to save as EPS. In the dialogue, select 'Export area is page.'
- Open the Eps. You will see that the exported area was not the area indicated by the page borders in Inkskape; it has grown to include the handle.
A second possible bug that I encounter that worsens the problem is that if I have previously changed the pattern control handle position for an object and then 'resize the page to fit drawing or selection' the handle teleports to somewhere else, often outside the area indicated by the page borders.
Here is how I produce this error:
- Return to the previous Inkscape document.
- Select the object you drew with the node tool.
- Return the handles to somewhere on the page area.
- In the Page tab of the Document Properties dialogue, click 'Resize page to drawing or selection. You will see the pattern handles jump to a new position on the page.
I hope my description is helpful!
-Leila
summary: |
- Pattern control handles outside of page causes incorrect bounding box + Pattern control handle outside of page causes incorrect bounding box when exporting to EPS. |
tags: | added: pattern |
Reproduced on OS X 10.7.5 with:
- Inkscape 0.48.2 and cairo 1.10.2
(official latest Inkscape package for OS X, 32bit)
Not reproduced with local builds on OS X 10.7.5 (64bit, newer versions of cairo):
- Inkscape 0.48.2 and cairo 1.12.2
- Inkscape 0.48.4 and cairo 1.12.2, 1.12.16
- Inkscape 0.48+devel r13050 and cairo 1.12.2, 1.12.16
Looks like a bug triggered by older versions of cairo (<= 1.12) - Inkscape packages for Windows use cairo 1.11.2, and thus would be affected by this too.