Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions font size scaling up or down automatically whan adding more character to bounding box

  • font size scaling up or down automatically whan adding more character to bounding box

    Posted by Adi Arusi on August 13, 2016 at 8:05 am

    hi all
    I have AE templaet with a text bounding box, The text changes every day
    the problem start when i have a lot of character and the text is cropped out of bounding box aria
    today i manualy change the font size and the line spacing every day

    I wonder if there’s a expression or script thet make the text, the character tracking and the line spacing resize and fit to the bounding box automatically No matter how many characther i have

    thanks all

    John Herrera replied 9 years, 6 months ago 3 Members · 6 Replies
  • 6 Replies
  • Kalleheikki Kannisto

    August 13, 2016 at 1:06 pm

    See here:

    https://forums.creativecow.net/thread/227/33411

    Kalleheikki Kannisto
    Senior Graphic Designer

  • Adi Arusi

    August 13, 2016 at 4:45 pm

    Kalle Kannisto you are aaaawesome
    This is exactly what I need…

    thank you very much
    Adi

  • Adi Arusi

    August 16, 2016 at 12:11 pm

    thank’s Kalle about your help
    i have one more question
    when i try to center the text it jumps to the right side and dosent stay in the react solid
    if i scale down the text box and make it centerd the next inserted text will be small
    how can i make the text centered whit this expression?
    thanks
    adi

  • Kalleheikki Kannisto

    August 17, 2016 at 3:49 pm

    Hi Adi, you’ll have to center the anchor points at the top of both the text and the rectangle and remove the x offset by margin amount from the text position expression.

    10425_fittexttotextboxcentered.aep.zip

    Kalleheikki Kannisto
    Senior Graphic Designer

  • Adi Arusi

    August 18, 2016 at 8:34 am

    thank you very much Kalle

  • John Herrera

    October 29, 2016 at 12:11 am

    Kalle,

    This is very helpful! Thank You!

    I see the two examples for both Left alignment to the bounding box and Center alignment to the bounding box, both of them work for me as i would expect.

    What I’m trying to do here is now get Right alignment to the bounding box, but regardless of what i do i cannot get it to work.

    What should i be modifying here? The position expression? The Anchor point of the text? Some combination of the two?

    Any feedback would be very helpful, thanks for the excellent pointers already!!

    -John Herrera

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy