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.