: 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
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.
More posts by @Sent7350415
4 Comments
Sorted by latest first Latest Oldest Best
Change "Decimal places" to 3 in the "SVG Options" dialog appearing when saving as SVG:
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
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
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.