On Tue, 2008-04-22 at 20:14 -0400, bulia byak wrote:
> On Tue, Apr 22, 2008 at 6:31 PM, Ted Gould <ted@...> wrote:
> > To create your own I suggest copying "sepia.h"
> > in /src/extensions/internal/filter and replacing the strings.
> Thanks, but this is not what I proposed. Having each filter hard-coded
> in the source is a bad idea! Can you just make one generic
> filter-inserter class which takes the filter source from
> share/filters/filters.svg, where any user could add his/her own
> filters without recompiling? Your way bloats the source and makes the
> entire system very limited. Do you want an avalanche of patches
> submitted with "hey, add my filter too!"? :)
Yes, I know. I looked at doing that, but the problem I saw is that
there is no way to translate the names.
I think that this might work for ~/.inkscape/filters/*.svg but I don't
think it should be for the ones we ship by default. I think we can
assume that if a user added the filter, it's in a language that he
The other problem is of course doing ones that require GUIs, stuff like
the drop shadow example.