Search code examples
javascriptscriptingadobe-indesigntypography

What exactly is paragraph leading for indesign paragraph


I am working in an indesign script and I would like to know what exactly is leading for a paragraph as described in the documentation Indesign Paragraph. Is that the height for each line in the paragraph?


Solution

  • Yes, that is correct. Leading is the distance from one baseline to the next.

    The leading of the top line can be anything because there's nothing above it to push it down.

    Note: since fonts can vary in X-height and they allow space for descenders etc., they don't usually take up the full pixel dimension. In the following image, all the text is 100px and the height of the boxes surrounding the text is the same as the leading for each line.

    enter image description here