-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Just a few things about how you define your shadow filter:
-
You are adding a useless (as I understand it)
feGaussianBlurelement, sincefeGaussianBlurelements don't have to be children offeDropShadow, and since you don't give any attributes to thisfeGaussianBlurelement, you can just remove it, here:Line 47 in ffe5e5c
.append("feGaussianBlur"); -
feDropShaowisn't supported in Inkscape (see https://gitlab.com/inkscape/inkscape/-/issues/4534), so the whole group (SVGgelement) that is linked to this filter isn't displayed in Inkscape (see also Export plante magrit#154 about it and riatelab/magrit@c34519b to see the fix I implemented in Magrit, usingfeFlood,feGaussianBlurandfeOffsetinstead offeDropShadow).
Also related to drop shadows, I guess you have a small error in the shadow function documentation and could replace blur by shadow here:
Line 17 in ffe5e5c
| * geoviz.effect.shadow(svg, { stdDeviation: 0, id: "blur" }) // where svg is the container |