relation between leading and ascent/descent
Hello,
I have been try to solve this for quite a while and I cannot make it work. Now I narroed it down to knowing the relation between leading and ascent/descent of a type.
I am trying to do an apparently simple thing.
I have three lines of text that I want to have highlighted with a colour background. Each line has a different charater height (12, 18, 😎 and different lengths depending on the text. I created one paragraph style, I added 2mm before paragraph, and I made the paragraph shading...
I thought this would work because we are talking about adding 2mm to each paragraph independently of the height of the character... Wrong...

When I put the space before paragraph to zero it also (in my view) inconsistent.

I understand that the space is added to the leading. I assumed the ascent and descent of a type would be related to the leading and that would simply work out. I did not realize that if you have the descent of the smaller type on the top line will stay very distante from the ascent of the larger type on the line below.
A possible solution is to offset the baseline according to the fonte size, but for that you would need to know the relation between ascent/descent and the leading. Any idea?
Any other ideas?
Thanks, N
