Wordwrap has lines too close together

I think that you can set the line-spacing in the font, either via the “setLineHeight” method or by passing in the “lineHeight” parameter to “loadFont”.

That said, have you perhaps set the point-size of the font here? As I myself found, doing so can produce the sort of overlapping that you’re seeing–and in the linked thread I was advised to instead use the “pixels-per-unit” setting.

1 Like