misaligned transparent paths in pdf export

Bug #562592 reported by Johan Engelen
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

The attached file contains the same paths but the left being transparent, and the right being opaque. The PDF output (export area = drawing) is misaligned. When I remove the top two paths (such that the texts are topmost objects), the misalignment is still present but much less.

Might be related to bug #336638.

Revision history for this message
Johan Engelen (johanengelen) wrote :
Revision history for this message
Johan Engelen (johanengelen) wrote :
Revision history for this message
Johan Engelen (johanengelen) wrote :

when doing a "cairo_push_group"/"pop_group" for all objects (instead of only doing it for transparent objects) results in correct alignment between objects, but misplaced on the document. In other words, the misalignment seems to be caused by the pushlayer poplayer stuff.

su_v (suv-lp)
tags: added: exporting
removed: export
Revision history for this message
su_v (suv-lp) wrote :

reproduced with Inkscape 0.47+devel r9322 on OS X 10.5.8 (cairo 1.8.10)

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

forgot to add: reproduced with Inkscape 0.47 r22583 as well

Revision history for this message
su_v (suv-lp) wrote :

same cairo issue as reported in Bug #320646 “export via cairo -> shifted image”?

cairo bug:
22441 – Unexpected shift with push_group and pop_group:
<https://bugs.freedesktop.org/show_bug.cgi?id=22441>

«One would expect that both circles are shown at the same place, which is not
the case. It depends on the page size, whether the second circle is at the
correct position or not.»

Revision history for this message
Johan Engelen (johanengelen) wrote : RE: [Bug 562592] Re: misaligned transparent paths in pdf export

The workaround for the particular problem in the bug's svg file, is to
apply transparency to the stroke color, instead of transparency to the
whole object.

So: stroke color transparency: no misalignment
     object transparency: yes, misalignment.

Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48.0 and 0.48+devel r10325 with cairo 1.8.10
Not reproduced with Inkscape 0.48.1, 0.48.2, 0.48+devel r10325 and 0.48+devel r10764 with cairo 1.10.2
(tested on Mac OS X 10.5.8. (i386), PDFs verified with Apple's Preview and Evince 2.30.3)

Seems to have been fixed upstream in cairo 1.10.x.

Closing as 'Invalid' in Inkscape since this is an upstream bug in cairo, fixed in current stable release 1.10 which is now included in all latest stable release packages of Inkscape for Windows and Mac OS X.

Please reopen if you think this report was closed in error.

tags: added: cairo
Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.