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
January 6, 2016

Thanks William, I'm fairly new to illustrator as I was previously using more basic software for this sort of thing, but I love how powerful it is, just don't know my way around completely yet! I actually had no idea about that being possible solely from an action, so I'll definitely check that out, thanks!

How will it play with the fact the shape is not a rectangle? I'd like the text to be as big as possible when there are only a few characters, but when there are several for them not to go over the edge. If I make the text box for the text as deep as possible I'm thinking that while for a few characters it will work beautifully, when there are many the text will spill over the bottom edges of the sticker as the text box has to be a rectangle. Does that make sense? Bit tired (been up 24 hours and about to go to bed!).


if you have any questions about how to set that up, i'd be glad to help. You should easily be able to find some basic action tutorials, but if you get to something that stumps you, let me know. =)