Mobile app version of vmapp.org
Login or Join
Sent7350415

: SVG export from Illustrator CC distorts paths I'm trying to create some icons to add to the Glyphicons library. I've created them using the pen tool (shapes) in Adobe Illustrator CC, they're

@Sent7350415

Posted in: #AdobeIllustrator #Cc2014 #Svg

I'm trying to create some icons to add to the Glyphicons library.

I've created them using the pen tool (shapes) in Adobe Illustrator CC, they're ultra-basic. As PNG, or EPS they export fine. Unfortunately I need the SVG export to use with Glyphicons.

When I export to SVG, the shapes seem to move around. At very least they don't remain as they appear on my screen.

How can I get them to appear as they do in illustrator?

This is a PNG from inside illustrator.


This is a PNG from preview, this is the SVG.


Clearly the shapes are becoming misaligned after the export, are there any obvious reasons for this? All my export settings are set as default.

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent7350415

4 Comments

Sorted by latest first Latest Oldest Best

 

@Fox8063795

Change "Decimal places" to 3 in the "SVG Options" dialog appearing when saving as SVG:

10% popularity Vote Up Vote Down


 

@Deb5748823

Solution Found.

This is clearly not the best, cleanest most beautiful solution but it works exceptionally well.

My Process:
1. Draw the icon in Illustrator
2. Save out as .ai file
3. Open .ai in OSX iDraw
4. Export to SVG from iDraw

Simple solution:
1. Draw the icon in iDraw
2. Export to SVG from iDraw

I hope this helps other folks out

10% popularity Vote Up Vote Down


 

@Ann6370331

This is a common error in .SVG file .. that's because hard curves (curves made with only two anchors and long handles) this cant not be rendered good by the browser.

The best thing to do is to divide your path into smaller segments, specially around the anchor that have the problem.

Just go to Object > Path > Add Anchor Points

10% popularity Vote Up Vote Down


 

@Correia448

I tend to get the best results from my SVG saves when the coordinates of my objects have clean decimal values. For example, an object at X = 100.452 would be moved to X = 100.5. I've experienced slight movements similar to your issue when leaving objects at coordinates with messy fractional parts.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme