: Creating outline using extendscript distorts text I believe this is an Illustrator issue and not a coding issue therefore I'm posting it here. I have this script that does a few things to my
I believe this is an Illustrator issue and not a coding issue therefore I'm posting it here.
I have this script that does a few things to my documents including outlining the text (then saving as a PDF).
I discovered on one of my documents that the script distorts the text when outlining. I can copy the text to a new file and then the script outlines it correctly.
Example:
Original text
Outlined by code text
Any insight into this will be greatly appreciated, since I want to avoid this issue in the first place.
Note: Using Illustrator CS6. Code to outline is textElement.createOutline().
Thank you.
More posts by @Eichhorn212
1 Comments
Sorted by latest first Latest Oldest Best
Ok, after a bit of tinkering I've discovered what's happening.
Explanation: When the document is set to align to pixel grid, then any new object gets adjusted to be aligned to the grid. Now it seems that the way Illustrator implements it's createOutline() function, is in such a way that it creates a new object (maybe each letter is a new object) and then adjust them to fit the grid, so it needs to get rid of the curves of the text.
Solution: Be sure document is not set to align to grid, or turn it off.
P.S. If any Adobe developers can confirm the above hypothesis that would be cool.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.