I've been using MSDF fonts for a little bit, (https://github.com/Chlumsky/msdfgen) but have been running into issues where a lot of fonts don't render right. Finally figured out that it doesn't play well with contours that intersect themselves... I looked into how the msdfgen cli resolves it and they convert the shapes to google's Skia and back, which "fixes" all the intersects lol
so at this point I think I either 1) try to solve intersecting shapes, 2) use msdfgen's offline cli renderer instead of doing this in real time, or 3) just go back to good old stb_truetype and render out fonts at specific sizes :D
Actual Solution! It seems like the open source FontForge (https://fontforge.org/en-US/) actually has a command to remove overlaps like this, and it can run on the entire font and re-export. And it worked extremely well!
but even though it's not compliant, a huge portion of Google's own fonts do this all over the place. Maybe because their Skia library automatically fixes them when it parses the contours haha
It looks like at some point Godot ran into this too but they opted not to fix it, since apparently it's not actually compliant to have contours intersect themselves https://github.com/godotengine/godot/issues/52247