EPS export: one clipping object clips everything

Bug #910263 reported by Andrew Tinka on 2011-12-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

If there is a clipped object on a drawing, the clipping object seems to clip everything when exporting to EPS.

Steps to reproduce:
1. new drawing
2. draw three overlapping objects (in my example, an orange ellipse, a gray rectangle, and a green triangle)
3. put the rectangle on top and use it to clip the triangle (Object > Clip > Set): the ellipse is unaffected
4. save a copy > choose a .eps name.
5. eps options: Postscript Level 3, no text-to-path, no EPS-LaTeX, no rasterize, 90 DPI for rasterize, YES export area is drawing, YES export area is page, leave the "id" field blank
6. open the .eps with evince

Expected result:
you should see the complete orange ellipse and the clipped green triangle

Actual result:
the orange ellipse is clipped by the rectangle; the clipped green triangle is OK.

As an optional step, I made a duplicate of the rectangle with a dashed boundary, so that you can see the clipping object in the examples. This step doesn't affect the bug.

Notice that this isn't a problem with the EPS BoundingBox, because the EPS displays white space where the "missing" part of the ellipse is.

Ubuntu 10.10
Inkscape 0.48.0 r9654
evince ("Document Viewer") 2.32.0

Attached files:
the example SVG
the example EPS
a screenshot showing Inkscape and Evince side-by-side, illustrating the problem

Andrew Tinka (tinka-berkeley) wrote :
Andrew Tinka (tinka-berkeley) wrote :
su_v (suv-lp) wrote :

From the attached EPS file:
%%Creator: cairo 1.10.0 (http://cairographics.org)

- Reproduced with Inkscape 0.48.2 and 0.48+devel linked against cairo 1.10.x.
- Not reproduced with Inkscape 0.48.2 and 0.48+devel linked against cairo 1.8.10 or a recent cairo build from git master.
(tested on Mac OS X 10.5.8 (i386), EPS files verified with evince 2.30.3)

Linking as duplicate to
Bug #813886 in Inkscape: “Save as EPS or PS incomplete with cairo >= 1.10”
(upstream regression in cairo 1.10.x)

Please add a comment here and revert the duplicate status if you don't agree and think these are different issues.

tags: added: cairo clipping eps exporting
su_v (suv-lp) wrote :
su_v (suv-lp) wrote :

EPS export with the same Inkscape 0.48.2 build, but dynamically loading a fairly recent cairo snapshot from git master instead of current stable cairo 1.10.2 (by setting DYDL_LIBRARY_PATH).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers