Activity › Forums › Adobe After Effects Expressions › Expression to change line spacing based on above or below baseline characters
-
Expression to change line spacing based on above or below baseline characters
Adam Greenberg replied 8 months ago 2 Members · 13 Replies
-
Adam Greenberg
April 3, 2023 at 2:59 pmThanks so much. This is amazing work Filip, you really put some time into this. I have noticed it works perfectly with the exception of capital letters. I will see if I can figure out why.
-
Filip Vandueren
April 3, 2023 at 6:47 pmHey Adam,
It’s pixel-based so there should be no other reason why capitals won’t work.
One thing to note: the expression works by checking linespacing settings that are smaller than what is applied before the animators get active.
So you have to make sure that in your template the leading is more than enough to not have stuff like Ç and Á touch before the expression gets run.
My example project had a quite low leading setting.
-
Adam Greenberg
April 3, 2023 at 7:25 pmok thanks now i understand better. that was exactly the problem. thanks so much Filip.
Reply to this Discussion! Login or Sign Up