12-18-2017, 10:59 AM
Basically the same ideas. But that code relies on four external libraries that aren't included in Gimp's Python, and the only benefit I see is that they would allow arbitrary paths (multiple anchors).
However it seems the general envelope (including sides) isn't that different from my current code, so I may give it a shot.
Both that code and mine suffer from the same deficiency, they don't handle perspective: the smaller the letter gets, the narrower it should be. For a general path that could be fairly hairy but if the target is text it could be approximated by computing a perspective transform for each character.
Unless applying a perspective transform after the path has been bent gives acceptable results...
However it seems the general envelope (including sides) isn't that different from my current code, so I may give it a shot.
Both that code and mine suffer from the same deficiency, they don't handle perspective: the smaller the letter gets, the narrower it should be. For a general path that could be fairly hairy but if the target is text it could be approximated by computing a perspective transform for each character.
Unless applying a perspective transform after the path has been bent gives acceptable results...