After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 318097 - Gradients rendered in reverse
Gradients rendered in reverse
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-06 10:14 UTC by Sebastien Bacher
Modified: 2005-10-07 17:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Screenshot corresponding to attachment http://bugzilla.ubuntu.com/attachment.cgi?id=4258 (123.11 KB, image/jpeg)
2005-10-07 06:13 UTC, Mikkel Kamstrup Erlandsen
Details

Description Sebastien Bacher 2005-10-06 10:14:53 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/show_bug.cgi?id=16025

"Maybe this is really an Inkscape bug, but here goes...

I was working on a wallpaper for Breezy (using Inkscape) and discovered that
EOG, gThumb and all Gnome apps reverse some of the gradients compared to what I
see in Inkscape (v0.42). The soon-to-be-attached screenshot is from a Breezy
box. Look at the lower gradient on the globe. Viewing the svg in Hoary also
caused the globe gradient to be reversed but additionally reversed one of the
gradients on the surf board...

https://bugzilla.ubuntu.com/attachment.cgi?id=3969
Screenshot of EOG vs Inkscape rendering the same SVG in different ways.
...
https://bugzilla.ubuntu.com/attachment.cgi?id=4000
How the surfing badger looks in Hoary (with librsvg (no inkscape))

That would be Inkscape. The attachment shows how it renders in Hoary. Check out
the gradient on the board compared to the Breezy renders...
...
> thanks. could you attach an .svg having the issue to the bug?
...
https://bugzilla.ubuntu.com/attachment.cgi?id=4258
Notice the bottom gradient on the globe in Inkscape vs Eog et al.

Here is the surfing badger depicted in the various screenshots attached to this
bug."
Comment 1 Caleb Moore 2005-10-06 14:21:00 UTC
From my estimation, the whitest bit of the bottom gradient circle should go from
the cape of good hope, through the Indian ocean and run aground somewhere in
Oman or the UAE just south of the Persian Gulf.

Could you clarify which versions of which programs do this and which ones do
not, because for some reason these pictures seem inconsistant.

Thank you.
Comment 2 Mikkel Kamstrup Erlandsen 2005-10-07 06:13:01 UTC
Created attachment 53160 [details]
Screenshot corresponding to attachment http://bugzilla.ubuntu.com/attachment.cgi?id=4258

Cheers; I was othe one opening the Ubuntu bug. Everything is default Ubuntu
Breezy versions. That would be:

Inkscape: 0.42-1build1
EOG: 2.12.1-0ubuntu2
librsvg2: 2.12.5-0ubuntu1

You're correct that there are inconsistensies in my attachments. My bad. First
of all please not that https://bugzilla.ubuntu.com/attachment.cgi?id=4000 does
not use the above mentioned versions.

I've attached a grand unified screenshot with the apps in question (including
about boxes and "dpkg -l librsvg2-2" output). This screenshot shows how the
apps render this attachment: http://bugzilla.ubuntu.com/attachment.cgi?id=4258
Comment 3 Caleb Moore 2005-10-07 09:18:52 UTC
This image renders perfectly with rsvg-cairo but not with rsvg-art. I think it
might actually be a libart problem.
Comment 4 Caleb Moore 2005-10-07 17:40:21 UTC
Ok, all fixed now on the art backend as well.