ShapeGeometry is giving incorrect result

I am getting issue with ShapeGeometry.

As you can see in below image, when I use same set of points for ShapeGeometry, I am getting intersected result.

When add lines passing through those points, I am getting proper result. There is no intersection.

Yeah… not all paths resolve perfectly with shapegeometry.
It’s just a fact of life. Sometimes you can fix it by reducing the thickness of the font or a different font.