Skip to main content
Participant
February 8, 2012
Answered

Can the poor performance of createOutline() be increased?

  • February 8, 2012
  • 1 reply
  • 1269 views

I wrote a little Script converting an Array of Strings to outlines for SVG export. I however find the results of createOutline() extremely unsatisfactory, especially when compared to the results of doing the job "manually" (Right click > create outlines).

Right click, "Create Outlines"

createOutline() from Script

From first sight this seems like an issue with conversion accuracy set too low, however I wasn't able to locate a parameter to change the same.

Any help on how to achieve the look of the top image from within a script is highly appreciated.

This topic has been closed for replies.
Correct answer Larry G. Schneider

Look int the possibility that Align to Pixel Grid is turned on in the Transform panel in this file.

1 reply

Larry G. Schneider
Community Expert
Larry G. SchneiderCommunity ExpertCorrect answer
Community Expert
February 8, 2012

Look int the possibility that Align to Pixel Grid is turned on in the Transform panel in this file.

franz_h
Inspiring
December 3, 2015

Hi Larry, do you know whether switching this "Align to Pixel Grid" feature can be scripted?

franz_h
Inspiring
December 3, 2015

Note to self: it's available via the property called .pixelAligned