Dynamic letter spacing in Illustrator
#1
Posted 23 June 2008 - 03:30 PM
I'm learning Illustrator, with Freehand background.
Now I'd like to create names which are spread along a path letter by letter. There is a partial solution, if I have only one word in the name: I can set the paragraph to "justify all lines", and then, as the name is the single word on the single line, it is spread nicely. But if there are more than one words in the name, then only the spaces are growing. I'm looking for something like a "letter justify". (I'm not sure if I'm using the correct terms.)
Other similar problem: if I have a simple type object (not on a path), and I resize the envelope, I don't want the font's size to be changed in any ways, but the letter and baseline spacing. Is it possible?
(Both of these worked in Freehand.)
Thanks!
Peter
#2
Posted 24 June 2008 - 01:43 AM
For you second issue, maybe you should try area type instead? That doesn't change the letter and baseline spacing though - I don't think you can do what you are asking for. Personally I hate point type, and I try to use area type wherever possible - I like to have my fonts in specific classes with specified sizes, with point type they easily are all over the map...
#3
Posted 24 June 2008 - 09:21 AM
Yep, I found that, and the setting of the letter spacing does the trick, but it's really a pain to set it up manually, so that a text on the path fits the whole path. I'm attaching a picture, that makes it more clear what I'm thinking about.I am not sure exactly what you are after in your first question, but I would play with the different options in the character palette (not the paragraph palette) - there you can justify the word spacing as well as the letter spacing.
I like it too, that's why I don't want the size of the font to be changed, just the spacing, so it still fits a given area.- I like to have my fonts in specific classes with specified sizes, with point type they easily are all over the map...
So here is the picture:
illustrator_text_on_path.png 19.44K
36 downloadsThese are four objects, all selected. The first one is an area text, and after entering "United States", a chose "Fit headline" from the Type menu, and that sets the letter spacing, so that the line fits the width of the area. It's nice, but it's still not automatic: if I'm resizing the area, or changing the text, I have to reset the letter spacing, and use the "Fit headline" again.
The second is a simple type on path, aligned to left. The third is justified, with "Justify all lines", but as there is two words in the line, only the space between them is expanded.
The fourth is just like the third, but with just one word, so it is expanding the letter spacing to fit the line to the available area. Now that is the effect that I am looking for. But in a way that works with multiple words on a path too.
I hope my problem is clear now
Thanks,
Peter
#4
Posted 24 June 2008 - 03:42 PM
#5
Posted 24 June 2008 - 10:04 PM
Where is the best Illustrator forum?I would try to post this on the Adobe Illustrator Forum. It is not possible to do in Illy, out-of-the-box, but there are some truly smart people on that forum, that knows how to push the boundaries (using e.g. javascript).
#6
Posted 25 June 2008 - 03:25 AM
#7
Posted 25 June 2008 - 05:40 PM
How about creating a hyphen with no fill or outline and copying and pasting this to replace the spaces? Although I imagine this would mess up indexing if required. Perhaps use an underscore as this would be an easy find and replace in the index.
#8
Posted 25 June 2008 - 08:54 PM
justification.jpg 43.41K
48 downloadsSetting this option also solves your second question about a regular type object, assuming its an "area" type object and not "point" type object. To create area type, click and drag out a text box before typing. If you just click once and start typing, Illustrator creates a point type object. I might be wrong, but I don't think there is an easy way to convert point type to area type or vice versa.
PS: The Adobe User to User forums are a mess. As a company that caters to graphic designers and usability experts, I can't image the shame that Adobe must (hopefully) feel about hosting those! If anyone has a favorite Illustrator forum, I'd also like to hear recommendations!
Adam Wilbert
CartoGaia.com & AdamWilbert.com
Lynda.com author of "Access 2013 Essential Training"
#9
Posted 25 June 2008 - 11:25 PM
#10
Posted 26 June 2008 - 11:19 AM
To get what you're looking for in the first part of your question, start with the text set to "full justify" as you have in the last "United States" example. Then click the fly-out options menu on the paragraph panel, and select "Justification." In the dialog box that comes up, change the Letter Spacing maximum from 0% to 100%. You're golden!
Wow, that's quite a handy trick to know! I'm going to pass that along to our the guy who does our labeling engine, it might be a future option in MAPublisher
Setting this option also solves your second question about a regular type object, assuming its an "area" type object and not "point" type object. To create area type, click and drag out a text box before typing. If you just click once and start typing, Illustrator creates a point type object. I might be wrong, but I don't think there is an easy way to convert point type to area type or vice versa.
There isn't even an easy way to do it in code, really. Incidentally, the internal terms for the three types of text are 'point text', 'text-on-a-path' and 'text-in-a-path' -- the latter being the 'area' text you're talking about. To convert them in code you'd basically have to create a new piece of text & copy the text contents & styling -- there's no way to just switch the type & nothing else. Not unlike, really, how you'd do it in userland frankly.
PS: The Adobe User to User forums are a mess. As a company that caters to graphic designers and usability experts, I can't image the shame that Adobe must (hopefully) feel about hosting those! If anyone has a favorite Illustrator forum, I'd also like to hear recommendations!
They are quite bad, but I've been trying to build up the AI SDK forum. Not that I think that's much relevant for most of the users on this forum
Lead Software Architect
Avenza Systems Inc.
email: andrew@avenza.com
phone: 416.487.5116
#11
Posted 26 June 2008 - 04:21 PM
Now can someone explain to me the bizzare activity that occurs when using letter spacing in the Type on a Path Option?
#12
Posted 26 June 2008 - 05:46 PM
#13
Posted 27 June 2008 - 10:16 PM
Setting this option also solves your second question about a regular type object, assuming its an "area" type object and not "point" type object. To create area type, click and drag out a text box before typing. If you just click once and start typing, Illustrator creates a point type object. I might be wrong, but I don't think there is an easy way to convert point type to area type or vice versa.
There isn't even an easy way to do it in code, really. Incidentally, the internal terms for the three types of text are 'point text', 'text-on-a-path' and 'text-in-a-path' -- the latter being the 'area' text you're talking about. To convert them in code you'd basically have to create a new piece of text & copy the text contents & styling -- there's no way to just switch the type & nothing else. Not unlike, really, how you'd do it in userland frankly.
You can't shortcut it (because it's a scripts), but I use Nathaniel Kelso's script for "convert to point type" daily. He also has one for convert to area type and a bunch more besides. Yay Nathaniel!
Head of Production, Hedberg Maps, Minneapolis, MN USA
maphead.blogspot.com
"Life's too short for bad maps"
#14
Posted 30 June 2008 - 10:38 AM
You can't shortcut it (because it's a scripts), but I use Nathaniel Kelso's script for "convert to point type" daily. He also has one for convert to area type and a bunch more besides. Yay Nathaniel!
Yeah, those are nice scripts, but reading them illustrates my point: if you look at how he does it, he does it by copying the text into new artwork. You can't change an artwork's type once it's been created, and Illustrator treats point text, text-on-a-path & text-in-a-path as different types of art. I find it amusing how easy it is to convert to area text contrasted with the amount of hoops you have to jump through to emulate either text-in/on-a-path as point text -- just look at the difference in those two scripts!
Lead Software Architect
Avenza Systems Inc.
email: andrew@avenza.com
phone: 416.487.5116
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account
No Country Selected
Back to top
Sweden
United States
New Zealand
Canada









