Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I cant anywhere find how to set in Illustrator that I want to use SVG in ONLY ABSOLUTE coordinates. I found a lot of stuff about Inkscape as easy as this:

Change the preferences for 'SVG Output > Path Data' to always use absolute coordinates

But I need to use Illustrator. So please help me.

share|improve this question

migrated from stackoverflow.com Mar 13 '12 at 1:21

This question came from our site for professional and enthusiast programmers.

    
This is not possible using Illustrator's SVG output. Sorry. It would not be hard, however, to write a small JavaScript that loops through SVG path data and converts relative commands to absolute. –  Phrogz Mar 12 '12 at 22:14
    
I wrote a JavaScript function to convert a path in place to new data. After that you can output it as shown in the question, or use Chrome/Safari/Firefox's console with "Copy as HTML" to copy a new SVG snippt for use elsewhere. –  Phrogz Mar 13 '12 at 3:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.