12-18-2017, 10:32 AM
(12-18-2017, 10:18 AM)Ofnuts Wrote: So, my script-writing neurone has fired. The case where the verticals in the text are kept vertical and the two envelope paths are defined by exactly two points each is not too complicated with some math (and this is really 90% or more of the uses...).
This is of course completely analytical (remapping the path control points, and not creating any new ones as other scripts do)
Still have to make the script more user-proof and document everything...
Stay tuned, but don't hold your breath
I dont know if this is any help with the script writing process, but the external python 'Bezier Envelope Extension' for Inkscape does already a pretty good job.
It works best on individual letters, but when the mapping-path is absolutely perfect (handles perfectly symetrical), it works like a charm on whole text in one go.
Unlike all the Extensions and LPE's that come with Inkscape, which cant process a curved mapping path.
Maybe its worth to have a look at the code, to check how it does this and translate to Gimp ?
https://github.com/shlomif/Bezier-Envelope-for-Inkscape