Copy link to clipboard
Copied
I want to fit words in rectangle shapes with Illustrator (each word is a rectangle but the words together are also a rectangle) with one word in each row so that Envelope Distort would make the text into the selected shape without distorting the font height.
Instead, it should automatically adjust the rectangle height, to fit the text to the width.
In fact, I don't want to allow horizontal distortion of the font either.
And I don't want to allow to distort the tracking (distance between the characters) either.
The only thing I want to allow to the Envelope Distort, is to resize the second word's font until the width of the word matches the width of the first word, and so on.
So only the font size is allowed to change until it matches the width.
And the vertical distance between the words should also be the same, so their frame should perfectly fit the word so I can space them evenly, vertically.
How do I do that?
Thanks in advance.
Somehow I didn't find the script handy.
What I finally did is that:
1. created a text box with my lines
2. justified each line separately (not sure if the same effect if I justify the whole text)
3. I increased/decreased the font size of each line in 0.1 pt increments, until one increment before line break
4. I adjusted the line height to be even.
Like this I could maintain the original tracking of the font size and have no distortions.
And I got my slab text block:
Copy link to clipboard
Copied
Looks like Type > Fit Headline could do what you want.
You would need tohave all your text in an area text in order to be able to use it.
Copy link to clipboard
Copied
I just tried Fit Headline.
The font of the upper row should grow to fit the width of the row below.
How do I do that?
Copy link to clipboard
Copied
The font size I mean.
Copy link to clipboard
Copied
I would need something like:
increase/decrease font size for every row to fit container width so that the tracking is the original tracking of the font size.
Copy link to clipboard
Copied
Like this:
I tweaked this manually (increased font size of the upper row and reduced tracking) but I would need a functionality that does this automatically.
Copy link to clipboard
Copied
None of these rows maintained the original tracking of their font size.
Copy link to clipboard
Copied
I don't understand, sorry.
Copy link to clipboard
Copied
No probs. 🙂
Copy link to clipboard
Copied
Adjusting font size is far outside the capability of Envelope Distort. Not being a scripter I have no idea if a script could accomplish such an adjustment, nor if there's another way to automate such a task.
I found it pretty quick to type the words into a single area type object, adjust one word's font size and tracking to establish the width I wanted, then select each word in turn and click and scroll in the font size field in the Character panel until the size was right, then do same in the Leading field. The tracking value remains constant.
Peter
Copy link to clipboard
Copied
Hi,
my solution for this (some manual work needed, i suppose it could be automated by a script, but that´s out of my knowledge).
(sorry, my illustrator is in german language and i´m not sure of some of the appropriate english terms and menu commands )
1. Select the text tool
2. type the first word with the desired font, font size doesn´t matter for now
3. Deselect all
4. type the next word, deselect again
5. The same for all the words you need.
6. Convert each of the texts to paths (type-menu -> create outlines)
7. In the layers palette select the group of the first word
8. In the toolbar type in the desired width (with the symbol for proportional scaling checked, to avoid distortion)
9. repeat this process for each of the words (always the same widths)
10. In the layers palette select the groups of all the words
11. In the toolbar klick on align left
12. Keep the groups selected
13. open the alignment palette (window -> align)
14. Click on one of the words: It should look highlighted. In the alignment palette you now should see an input field to input the distance of the disired distribution of the words. Type in the desired distance (e.g. 20px) and click on the icon for vertical distribution.
Copy link to clipboard
Copied
There is a script for this - does turn the text into outlines, though.
looks good with all caps, too
Copy link to clipboard
Copied
Thanks.
I noticed that Fit Headline works by changing the tracking.
We need a Fit Headline that increases the font size instead.
Copy link to clipboard
Copied
And keeps the original tracking according to the font size.
Copy link to clipboard
Copied
Yes indeed better to use this with capital letters to achieve a full rectangle (without distortion).
Copy link to clipboard
Copied
Somehow I didn't find the script handy.
What I finally did is that:
1. created a text box with my lines
2. justified each line separately (not sure if the same effect if I justify the whole text)
3. I increased/decreased the font size of each line in 0.1 pt increments, until one increment before line break
4. I adjusted the line height to be even.
Like this I could maintain the original tracking of the font size and have no distortions.
And I got my slab text block: