Transparency settings don't get preserved when saving as PDF

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

Bug Description

I don't know if this is similar to this bug: Bug 1234678 (PNG transparency lost after EPS->PDF export), but I'm doing SVG to PDF, so I thought I'd report it again (that, and the fact that the other bug has a 2007 date stamp on it).

I'm using Inkscape 0.48 on Windows 7. When doing a "Save As --> PDF", the transparency settings in objects don't seem to get preserved. For example, if I have a rectangle with 50% transparency and another overlapping it with 25% transparency, both these objects end up becoming their opaque versions in the PDF file. (Hint: arrange these figures to slightly overlap each other, and then save as PDF to see the extent of the problem I'm reporting here)

Please let me know if you need any more information.

Best,

Kushal

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

> I don't know if this is similar to this bug: Bug 1234678

This bug does not exist - could you please provide the link to the report you are referring to?

> Please let me know if you need any more information.

Please attach sample files (original SVG, exported PDF) which allow to test the reported issue on other systems, with different versions of Inkscape.

> I'm using Inkscape 0.48 on Windows 7.

Which version of Inkscape do you have installed (see Inkscape menu 'Help > About Inkscape')?
(There have been bug fix releases of Inkscape 0.48, thus it is important to know which one you actually have installed).

Changed in inkscape:
status: New → Incomplete
tags: added: exporting pdf
Revision history for this message
KushalSharma (kushalsharma83) wrote :

I'm attaching the png as well as the pdf version of an example artwork to demonstrate the issue.

Revision history for this message
KushalSharma (kushalsharma83) wrote :

Here's the pdf version

Revision history for this message
KushalSharma (kushalsharma83) wrote :

My apologies for the multiple comments. The version number copied from the top right section of the "About" window is this: Inkscape 0.48.2 r9819

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

Testing on OS X 10.7.5 with:
- original PDF, provided by the reporter using
  Inkscape 0.48.2, cairo 1.10.2 (win32)
- recreated PDF files using
  Inkscape 0.48.2 (cairo 1.10.2)
  Inkscape 0.48.2 (cairo 1.12.2)
  Inkscape 0.48.5 (cairo 1.12.16)
  Inkscape 0.48+devel r13502 (cairo git master 1.13.1)

Ok (same appearance as sample PNG file and recreated SVG file)
- Preview.app (Apple)
- Evince 2.30.3
- gv 3.7.3.90 (Ghostscript 9.05), 3.7.4 (Ghostscript 9.10)
- poppler-glib-demo (poppler 0.26.3)
- Inkscape 0.48+devel r13502 (via poppler 2.26.3)

Fail (grey rect -- RGBA #999999ff, opacity 0.6 -- not visibly rendered):
- xpdf 3.02pl6
- Inkscape 0.48.4 (poppler 0.18.4), 0.48.5 (poppler 0.26.3)
- Inkscape 0.48+devel r13502 (native)

While the originally reported issue ("end up becoming their opaque versions") was not reproduced, the generated PDF files do seem to pose issues to some (not all) PDF viewers.

Note: SVG -> PDF conversion with rsvg-convert (librsvg 2.40.2, cairo 1.12.16) does not reproduce the same issue: the generated PDF file renders as expected in all tested PDF viewers.

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

SVG file used to recreate test case with newer versions.

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

PDF file exported with current trunk and cairo git master

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

PDF file generated with rsvg-convert (librsvg)

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.