Copy link to clipboard
Copied
Hello.
I have a question.
If i have a fixed box size in one of my designs can i somehow make different length of text fit automatically into that box?
I know how to resize the box to fit the text but im after the opposite. So far i have'nt seen any information about it.
Best regards
Bepees
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Can you please show a sketch that may explain exactly what kind of result you are looking for?
Also, which version of Illustrator are you using?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
If this is for a visual appearance you can do this in the Appearance panel. THis works best for point text. That is, text made by clicking with the text tool so the text has no margins.
In the Appearance panel add a Fill and drag it below the Characters line in the Appearance panel. With that fill selected go to Effect > Convert to Shape > Rectangle. Turn on preview and adjusttherelative size of the rectangle to get he size you want. Click OK. If you want a stroke then add a Stroke in the Appearance panel. Hold Option or Alt and drag the Rectangle effect into the Stroke line. This will duplicate the effect.
You now have a live text object with a fill and stroke that will scale to the size of the text. You can make this a Graphic Effect and apply it with a click to any text. As an effect is can be edited to make global changes.
Copy link to clipboard
Copied
Thanks for the answer,
The thought behind it all is to cut time making the designfiles for our engravery machines by just copy pasting the names then save the file. Then insert it into our machines. Not sure if the graphical effect would work. But the rest should be easy to fix with a macro,
Best regards
Bepees
Copy link to clipboard
Copied
So.. First of all thank you all who replied to my question.
After some testing, googling, testing again, it seems that in illustrator we can only adjust the box to fit the text.
I want to acheive the opposite. i want to fit the text to a specified box.
If anyone has any ideas how to achieve this it would be highly appreciated.
Have a great day!
//Bepees