exporting image with radial gradient to eps not vectorized

Bug #1236882 reported by Petra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

I'm using Inkscape 0.48.4. When exporting an image containing an object with radial gradient fill to .eps format, the resulting exported image is not vectorized any more.

The interesting thing seems to be that the position of the object with radial gradient fill has effect on weather the image will be exported fine or not.

I'm trying to draw a light bulb. I've checked that none of the objects are transparent, and opacity for all objects is at 100%. When I put the stem of the light bulb away (not touching) or above the body of the bulb (the body is containing radial gradient fill), everything exports fine. However, when I put the stem below the body of the bulb, the exported image is suddenly not vectorized any more.

To reproduce and illustrate this, I've included 4 files demonstrating when the export is good and when not:
- bulbGood.svg (original file that exports well, the stem of the light bulb is away from the body)
- bulbGood.eps (the vectorized output of the export)
- bulbBad.svg (original image that exports badly, the stem of the light bulb is below the body of the bulb)
- bulbBad.eps (ugly export)

Revision history for this message
Petra (krezubica) wrote :
su_v (suv-lp)
tags: added: cairo eps exporting
Revision history for this message
su_v (suv-lp) wrote :

> I'm using Inkscape 0.48.4.

Could you please add information about OS/platform? It seems that the output differs depending on which cairo version Inkscape uses (which may vary depending on which Linux distro you have).

From the EPS files in the zip archive:
> %%Creator: cairo 1.10.2 (http://cairographics.org)

Likely related to rather dated cairo version 1.10.2:
- Not reproduced with Inkscape 0.48.4 on OS X 10.7.5 using cairo >= 1.12
  (sample exported with cairo 1.12.2 attached)
- Reproduced with Inkscape 0.48.2 using cairo 1.10.2 (same cairo version as the reporter uses)
  (at the moment I don't have access to a build of 0.48.4 which uses cairo 1.10.2)

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

> - Not reproduced with Inkscape 0.48.4 on OS X 10.7.5 using cairo >= 1.12
> - Reproduced with Inkscape 0.48.2 using cairo 1.10.2 (…)

- Reproduced with Inkscape 0.48.4 on Mac OS X 10.5.8 using cairo 1.10.2

Revision history for this message
Petra (krezubica) wrote :

> Could you please add information about OS/platform?
Using Fedora 17, sorry for not mentioning it.

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

Proposing to close bug report for project Inkscape: the support for gradients with opaque stops in PS/EPS export depends on the cairo version used with Inkscape, not on Inkscape itself.

AFAICT it had been added for cairo 1.11.2 (unstable snapshot) quite a long time ago:
<http://cairographics.org/news/cairo-1.11.2/>
<http://cgit.freedesktop.org/cairo/commit/?id=d1e9bdf7f15fd2ba7d42c6fe18650618d29c4942>
and has been available in stable cairo releases since the release of 1.12.0 on 23 Mar 2012.

su_v (suv-lp)
Changed in inkscape:
importance: Undecided → Medium
status: New → Triaged
jazzynico (jazzynico)
Changed in inkscape:
status: Triaged → Invalid
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.