1
Answered

Can I control the space between textWrap line breaks?

There is a fixed space between line breaks using the textWrap function.

Is there a way to control this - I'd like to have my line breaks be much closer together.

3 replies

Are you looking for "paragraph-spacing"?

+textWrap(body)(font-size=11, line-height=8, paragraph-spacing=0, ...)

The value you set for "paragraph-spacing" gets added to the line height.  It defaults to one-half of the font size.

This works, but it also reduces the space when line wrapping. So I can never equalize the line wrap spacing with the new line spacing. Thoughts?

Yes you can.  Pass a "line-height" attribute to the textWrap function:

+textWrap(body)(font-size=11, line-height=8, ...)