RiTa - RiText problems with bounding box and text size calculations
in
Contributed Library Questions
•
2 years ago
I want a tightly fitted bounding rectangle for my RiText objects.
The rectangle returned by RiText.getBoundingBox() method is very loosly fitted, with some fonts it is roughly twice the height it needs to be for given RiText objects.
I've tried nexttext as well, which does have a tight bounding box, but suffers from other problems. I'm almost at the point where I'm going to abandon these libs (which are otherwise great!) and just roll my own solution for this project, as I just can't seem to get them to do quite what I need.
Any suggestions appreciated, thanks peeps!
1