-
Composition size based on text bounding box
Hey,
This may sound a bit ambitious but I was wondering if there is a way to have a composition to resize its width and height based on a text layer bounding box?
I have a precomposed text layer and its comp size is matching the text bounding area, the problem is, if I increase the font size, increase the number of lines of text, align the text differently, etc, it will get cropped off in the comp.
I’m looking for a way to link the comp size to the bounding box of the text layer, just so if create another paragraph of text or delete one, the whole comp size could adjust itself?
I’m aware of scripts such as Auto Crop (https://aescripts.com/auto-crop/) which can do somehow what I’m looking for but considering this .ae file is for client delivery and the text content will be changing
randomly, the best solution would be an expression that could do it on the go.Any ideas?
Thanks in advance!