SVG Precision and options are reset on every launch of IL. Add a place in IL preferences allowing users to permanently set SVG precision.
I've gone over this problem in detail on the forums here:
Illustrator's precision for saving out SVG files has a default of 1 decimal place. This can cause severe path distortion and rounding errors in the resulting file if you simply save it with CTRL+S.
This precision setting is reset to 1 after closing and re-opening Illustrator no matter what settings you have applied in the past. To rectify this, you have to:
- FIRST select "Save As..."
- Choose SVG as your format.
- Click save and wait for the SVG options dialog to appear.
- Change the precision value from 1 decimal place to something like 5-6.
If you don't do this, any SVG you open and save (even if no edit was made) will likely end up malformed.
You can replicate this by opening a SVG, nudging it maybe a pixel or two, and then saving it with ctrl+s. Re-open the file and then observe the obvious distortions and rounding errors.
Right now, as it stands, It's so easy to corrupt any icons you might be working on if you are making changes from SVG to SVG.
All you have to do is make a small modification, hit CTRL+S, and then ... boom! Your file is now instantly corrupted and rounding errors distort your paths.
Here is an example.
Original Image:
Re-Saved Image:
I urgently request that Adobe does something about this, such as letting users define their default save options somewhere in the preferences so that this sticks permanently. Right now, precision is reset to 1 decimal place on every launch of the application.
Please add an "Export Options" section to the application preferences, or a menu item that allows us to set a default SVG export profile.
I beg that someone on the team incorporates an option to fix this!
Thanks so much for reading.
-
Joseph, was the file created in Ai in the first place?
Do you keep the original in .ai format?
Can you share the original file, with no precision loss baked in?When I try to recheck this from the scratch, I can’t reproduce it — the Decimal Spaces value is kept on 7 for me all the me, both for Save or Save As...