188.8.131.52 How can I find the size of a text object?
"How can I find the size of a text object / center text / justify text?"
You can use the
max_extent() functions to get the corners of the
bounding box of any object. While this is sometimes not the actual size of the object, for text objects this should be
fairly accurate, enough to do alignment of the text object.