double border script
Hi,
I'm new to Script-Fu (but not to GIMP) and I'm trying to customize
Double Border script by Pavel Antokolsky and Frank Ufie
(http://registry.gimp.org/plugin?id=4899).
The very first thing I did is replacing old calls (beginning with
gimp-palette-*) to new calls (gimp-context-*) to make it work with
GIMP 2.3.x. I also changed some defaults to the ones I usually use.
Then I changed menu to /Filters/Decor so that the obsolete
Script-Fu menu isn't created again.
There are 2 issues left
1. When I try to execute the script, I see the following message:
Error during execution
(script-fu-border-with-copyright 1 2 1 '(255 255 255) 5 '(0 0 0)
"\302\251 Alexandre Prokoudine, 2004" "Verdana Italic" 11 '(105 81 71)
FALSE FALSE FALSE)
ERROR: Procedural database execution failed:
(gimp-edit-clear 4)
2. When I try to undo changes that the script managed to introduce
before failing, GIMP freezes i.e. stops responding.
I understand that using unstable version isn't a really good idea in
common cases, but for me CMS is critical. Thus, any idea about what
should be fixed is highly appreciated. My version of the script is
attached to this letter.
Thank you in advance.
Best regards,
Alexandre