12-04-2022, 08:29 PM
The problem wasn't with speed, but with an envelope path where the two strokes had the same extremities (the red one for "SOUTHERN" below, so the script couldn't determine which was on top. of course I could tweak the path to avoid this but then I also use that envelope path to draw the "corners".
The new version just compares a pseudo-average height of the strokes (coordinates of the extremities plus topmost handle/tangent), which is simpler (otherwise 81 cases...)
The new version just compares a pseudo-average height of the strokes (coordinates of the extremities plus topmost handle/tangent), which is simpler (otherwise 81 cases...)