Yeah I have ended up in that loop before and its not pretty.
Here's something I have quickly just put together as a rudimentary way to avoid that loop that would allow 3 sizes in this instance, obviously you can take it as far as you like.


In the final result you would publish only text1 but it would be invisible and unpublish text 2 but it would be visible.
FYI you don't need to apply the word wrap to text 2, it is copied with rest of the text.
Final user would see

I attached the scene.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
------------------------------
Original Message:
Sent: 05-18-2022 12:55
From: Malcolm Thorpe
Subject: text size based on character count
Just throwing things out to see if they stick. It might be possible to use the size of the text binding box of the quote to decide font size instead of a squeeze. But it could turn into a never ending loop because if you change font, the binding box gets smaller, which would trigger a visual logic to change the font size over and over again. This might be the afternoon tea project.
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
Original Message:
Sent: 05-18-2022 12:49
From: Simon Redmile
Subject: text size based on character count
I am just guessing but I think he wants to have a text box with multiple lines that starts to shrink only once the max is space is hit, much like MS Word "Shrink Text On Overflow." or something similar.
Auto squeeze in XPression only works on 1 line.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 05-18-2022 12:25
From: Malcolm Thorpe
Subject: text size based on character count
in your example earlier you have word wrap enabled. If this is enabled it will just keep adding rows. Turn that off and the auto squeeze will start working.
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
Original Message:
Sent: 05-18-2022 12:16
From: Kevin Coffee
Subject: text size based on character count
I'm still stuck on this. I can't figure out how to constrain the height of the text bounding box, so the text auto squeezes by width and height as more text is added.
------------------------------
Kevin Coffee
Graphic Designer
Weigel Broadcasting
Original Message:
Sent: 05-13-2022 13:34
From: Anthony Bordignon
Subject: text size based on character count
unclick the enabled on auto-squeeze.
hit set to current - does your number change (775)?
re-hit enabled on auto-squeeze
not sure about the word wrap
ASB
Original Message:
Sent: 5/13/2022 1:28:00 PM
From: coffeekev
Subject: RE: text size based on character count
This is where I'm at. The text is expanding vertically from the center. But it will go on forever. I need the text to auto-squeeze (width and height) so the text gets smaller as more is added. Plus, the overall text bounding box needs to be constrained in the space between the headlines and the quote name. I set the auto-squeeze, but it's not working.

------------------------------
Kevin Coffee
Graphic Designer
Weigel Broadcasting
Original Message:
Sent: 05-13-2022 12:52
From: Kevin Coffee
Subject: text size based on character count
I will do that, thanks.
------------------------------
Kevin Coffee
Graphic Designer
Weigel Broadcasting
Original Message:
Sent: 05-13-2022 12:41
From: Malcolm Thorpe
Subject: text size based on character count
but don't just copy his. Do your own and figure it out for the next step. You got this.
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
Original Message:
Sent: 05-13-2022 12:30
From: Anthony Bordignon
Subject: text size based on character count
I agree, visual logic may be your next step.
Try following this simple visual logic I use for a lower third that is usually one line of text, but sometimes goes into 2 lines. You will have to play with the numbers to adjust to your graphic size.
It centers it on the X & Y.
ASB
Original Message:
Sent: 5/13/2022 12:09:00 PM
From: coffeekev
Subject: RE: text size based on character count
Thanks, Malcolm. The way it works now, the text is at the top of the text box and each line goes down. I need it to be in the center and expand up and down from the center, and I need it to have a limit. Now it will just go forever. I really appreciate your feedback.
------------------------------
Kevin Coffee
Graphic Designer
Weigel Broadcasting
Original Message:
Sent: 05-13-2022 01:07
From: Malcolm Thorpe
Subject: text size based on character count
It's easier to build the scene for a short quote and have a large font. Then as the quote gets longer you can "auto squeeze" the vertical and horizontal size of the font so that it fits the text box.
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
Original Message:
Sent: 05-12-2022 10:52
From: Kevin Coffee
Subject: text size based on character count
I have a News scene that displays quotes. I based the font size on instances where there is a fairly long quote, but it looks bad if the quote is short, as it leaves too much open space in the scene. I would like the text size to increase when there is less text. Can I do this with visual logic?
------------------------------
Kevin Coffee
Graphic Designer
Weigel Broadcasting
------------------------------