using text() for word wrap but vertical gap between lines is too big

edited July 2016 in Programming Questions

I'm using text(str, x1, y1, x2, y2) to display strings that wrap within the bounds of the rectangle. It does a great job splitting between words, except the gap between lines is too big, like it's getting double-spaced or spaced-and-a-half. Have tried a few fonts, but nothing comes out nice and tight like the picture in the documentation for text().

Is there a way to control how big the vertical gap/spacing is between lines?

Thanks a ton!

Tagged:

Answers

Sign In or Register to comment.