Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.