Skip to main content
December 25, 2015
Question

Is there a way to get text size to automatically change so that text fits within a box?

  • December 25, 2015
  • 2 replies
  • 2814 views

Hello guys, is there a way to get text to automatically resize so that the entire contents fit within a box of a specified length and width? Currently I'm having to manually resize the text in several boxes to get it to fit within the correct dimensions that I want. I am doing this on a daily basis, numerous times a day so need a more efficient process for getting this work done! This would speed things up for me enormously!

I've attached a pic that hopefully demonstrates what I mean:

View image: test

Thanks very much for reading!

This topic has been closed for replies.

2 replies

Disposition_Dev
Legend
January 6, 2016

OP are you looking for something that will resize the entire text frame each time you type a letter? for example you type one letter and it fills the whole space, then you type a second letter and both letters automatically resize to fit, then when you type a third letter etc etc?

Or are you asking for a way to select a textFrame and run a script that resizes it to the specified size?

Participant
January 22, 2024

I know this thread is about 8 years old at this point - but I'm currently trying to figure out if there is a way to do the former in illustrator.

 

"something that will resize the entire text frame each time you type a letter? for example you type one letter and it fills the whole space, then you type a second letter and both letters automatically resize to fit, then when you type a third letter etc etc"

 

If this is possible, or if any of you have guidance (and are still active after 8 years) I would love some insight 🙂

Monika Gause
Community Expert
Community Expert
January 22, 2024

I don't know of a workflow or plugin that allows this.

Silly-V
Legend
December 25, 2015

From the attached pic, it's unclear what the problem is, since I don't see any overset text symbol?

December 26, 2015

Hi, basically I want text to fit within a box, and as I type into that box if the text needs to rescale in order to do that, then that's what I need it to do. Is there a script or something for this?

Disposition_Dev
Legend
December 29, 2015

Do you need the text to remain live, or can you expand it?

In my experience, accurately sizing live text is very very difficult, especially if you're dealing with differences in ligatures. For some reason, Illustrator doesn't accurately measure the height/width of live text, and the discrepancy differs between different fonts (see screenshot: the gray boxes indicate the bounding box of each different font. each of these fonts are the same point size, but the bounding boxes are very different).