Information on individual lines of a text node


I’m aware this is likely impossible (having done some extended searches that didn’t go through), but i’m trying my luck here anyway.

I’d love to be able from a text node to access the content and the bounding box of each invidividual lines.

By lines, i mean both lines created by a newline (enter) as well as lines created by wrapping (reaching the end of the text box)

i don’t have the budget to do heavy manipulations (like writing multiple variations of the content and making measurements…)

Thanks in advance for any informations.

If you’re looking for a way to achieve this using an API, here are some answers from a similar thread: