-
Auto-scale a text line in a multi-line text layer
Hello,
I have an issue and I wonder if you could help me.
I’ll try to explain, my English is not perfect sorry.I have a text layer with 5 lines. By line I mean I hit enter 4 times :
Bla bla bla bla bla
bla bla bla
bla bla bla bla bla bla bla
bla bla bla
bla.I need to scale each line to have a nice alignement.
I succeed to do that with five text layer and the expression SourceRecAtTime() combined to the scale of the layer 2-3-4 and 5. The number 1 being my master.But now I need to have only one text layer (easier to use for my journalists)… but still 5 lines and the nice alignement.
So I precomposed my text five times and extract each line. From now I can scale each line (and auto move on Y axis) to have a nice result.But if I want to do it automatically, I need to know which height is doing each line.
And now is my problem.
How to do a SourceRecAtTime() on just one line ?
I tried and tried to duplicate my text and to subtract the line I need to measure it.
Unsuccessfully…If anyone has an idea.
Thank you.