I'm not the best at identifying the cause of such problems, but as far as I can tell, this one occurs in CS4 only with negative gradientFill angles, and also with positive gradientStoke angles! So I've worked around it by having the script create two gradients, with the stops reversed. I apply one to the stroke of the text frame with a gradientStroke angle of -90, and the other to the fill of the text inside with a gradientFill angle of +90.
Bizarre, but it seems to work.
1 person found this helpful
Heh -- your personal "stamp of approval"?
Sounds serious enough to file as a bug.
One cannot help but wonder how the heck you introduce such a specific bug into perfectly working code that hasn't visibly been revised.
One happy result of my treating stroke and fill separately -- and of course rigorously applying my "press buttons randomly" method -- was I finally stumbled on a way to apply transparency effects such as feather:
myTextFrame.strokeTransparencySettings.featherSettings.mode = FeatherMode.STANDARD;
myTextFrame.strokeTransparencySettings.featherSettings.width = 2;
myTextFrame.strokeTransparencySettings.featherSettings.chokeAmount = 10;
(and so on.)