Geometry Nodes

Problem with the measurement/position of centered text.

I don’t have the latest version on this computer so perhaps this problem is fixed already.

I have a text input box on the geometry node modifier.

String to curves node with alignment centered.

Fill curve > Realize Instances > Bounding Box

Get the min X, max X, and distance between them. (width of the text)

Make a mesh line with 2 verts. Offset is the width of the text. Start Location is negative half of the width of the text. Use Mesh to Curve > Curve to Mesh to give the line some thickness.

The line is never exactly positioned center aligned to the text or the bounding box of the text.

Any idea why?