Hello,
I'm having trouble intersecting shapes with SVGs created from typography.
In particular, take the letters o or e, which are each made up of two paths, and outer and an inner.
if I overlay another shape, say a rectangle, the path1.intersect(path2), where path1 is the letter 1 and path 2 is the rectangle, the blue outline shape is returned, not the red outline shape.
How can I use paperjs methods to get the red outline space only?
Ideas:
In the boolean operations example, the ring is created by subtracting the inner from the outer. should I loop through my SVG CompoundPath and figure out which path is inner, subtract that from the outer, then remove the inner? I have about 6 enclosed letters in the text I want to use. This seems feasible though cumbersome. Is there a better way perhaps?
Thank you!