>>> - Your handling of two edges meeting at a corner is solid. That's
>>> exactly what we do in GLyphy. However, I'm also now convinced
>>> that there is no way to produce SDF from contours that might
>>> overlap. Imagine a "+" sign that is two straight contours. You
>>> cannot find the distance around the intersection. That's really
>>> bad news :(. Removing overlaps is extremely tricky and so far
>>> we've stayed away from adding to FreeType.
This is an interesting idea. I'm very open to add an API for removing
overlaps.
>>> SkiaPathOps seems to be the most solid Open Source implementation.
URL, please. A quick search on Google only shows video results.
>>> I don't have any suggestion as to how to proceed. I can only say
>>> do your work without overlaps and document that as a caveat.
Sounds like a good suggestion.
Werner