[solved] Gradient won't display

Post questions on how to use or achieve an effect in Inkscape.
Grayan
Posts: 6
Joined: Thu Aug 02, 2018 9:57 am

[solved] Gradient won't display

Postby Grayan » Wed Aug 15, 2018 11:36 am

Hi,

The background displays, the text displays, ... but the circles-with-gradients won't display (in a browser).
I'm sure this problem is exactly as simple as my last one turned out to be (thanks again, Lazur), but again, I'm completely stumped - and disappointed, 'cos it took ages tweaking those wretched gradients to get 'em right. Bah.

File attached.
Attachments
Global-Warming-Policy-Foundation-ink.svg
(48.77 KiB) Downloaded 164 times

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Gradient won't display

Postby druban » Wed Aug 15, 2018 2:39 pm

looks ok to me? did you try closing and reopening Inkscape?
2018-08-14_213705.png
2018-08-14_213705.png (28.87 KiB) Viewed 1005 times
Your mind is what you think it is.

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: Gradient won't display

Postby Xav » Wed Aug 15, 2018 5:15 pm

The rings (which are masked objects) don't appear for me in either Firefox or Chrome. It might be a bug in the browsers (though it seems unlikely that it should be in both), as the SVG generally looks okay to me.

But a better solution for this would be to throw away the mask entirely, and just adjust the alpha value of the stops on the original colour gradient. That works in the browsers, and requires them to do less processing as well.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

Grayan
Posts: 6
Joined: Thu Aug 02, 2018 9:57 am

Re: Gradient won't display

Postby Grayan » Wed Aug 15, 2018 10:33 pm

Xav, I'm in your debt. As you say, tossing the masks and setting the alpha values directly worked like a charm.
Feeling a tad stoopid now for having bothered with a mask in the first place - you learn s'thing new every day.
Thank you.


Return to “Help with using Inkscape”