I’m using a TextNode with wordwrap. I can get the height of the text block with getHeight() but for example:
1 line of text = 4 (height)
2 lines of text = 2 x 4 (height) + some spacing between line right?
How to get the height of that spacing?
Did you try .getLineHeight() from the font?
panda3d.org/reference/1.9.0 … xtFont.php
Yes, but i’m not sure in what units the returned result is.
For example: 1.08333337307