Question
How to set italic to a text frame with a JS script
Hello guys,
I'm a java developper, and for my customer I have to generate some JS scripts for Illustrator CS3/Windows XP.
In my use case, I need to layout several textframes. Some need to be "bolded", some others have to be underlined, and some need to be italic.
I found how to set the bold and underline attributes, but for the italic, I can't see any option related to it. I saw the "CharacterAttributes#italics" property, but the description is a bit odd: "If true, the Japanese OpenType
font supports italics."... it doesn't fit my needs...
Is it possible to make a text italic with a JS script in Illustrator?
I'm a java developper, and for my customer I have to generate some JS scripts for Illustrator CS3/Windows XP.
In my use case, I need to layout several textframes. Some need to be "bolded", some others have to be underlined, and some need to be italic.
I found how to set the bold and underline attributes, but for the italic, I can't see any option related to it. I saw the "CharacterAttributes#italics" property, but the description is a bit odd: "If true, the Japanese OpenType
font supports italics."... it doesn't fit my needs...
Is it possible to make a text italic with a JS script in Illustrator?