-
Text building upwards and ignoring descenders
Hi everyone. I already know how to add an expression that will build the multilines upwards. ( meaning if i have 3 lines of text, the last line would appear in the exact same Y position as if I had 1 line of text. )
But in this case, I have a font that has descenders. like the letter p for example, which breaks my alignment if this letter appears in the last line of text. I am looking for a way to edit the postition expression of my text that will keep the baseline of the last line at the correct place.
Currently it appears that if I have descenders only on the higher lines, it still works.
The expression I am using does seem to ignore the ascenders, which is great, and also keeps the proper distance between the lines regardless of ascenders and descenders which is also great. So its quite frustrating to be 99% of the way there.
this is the current expression
transform.position – [0, thisLayer.sourceRectAtTime().height]
Thanks so much