spidercrab Posted December 18, 2015 Share Posted December 18, 2015 I am trying out Designer but either I am missing something or something isn't working as it should. If I create a simple shape in a custom sized Artboard and export it as an SVG, the saved SVG file does not obey the dimensions set for the Artboard. I.e. if I create a circle in an Artboard set to be 100px x 100px (72dpi), the resulting SVG image is much bigger than 100x100. Illustrator exports SVG or rather it Saves As, SVGs that obey the dimensions set in the Artboard. So is there a Designer stage or change or process to do for this to work the way that Illustrator saves SVGs? Quote Link to comment Share on other sites More sharing options...
spidercrab Posted December 19, 2015 Author Share Posted December 19, 2015 I have checked through the bug reports here that relate to SVG Export and I can see that there are quite a few issues with SVGs. However, nothing relates directly to the issue I have here. Designer is very impressive indeed, but without a decent SVG Export that works, it has very limited use. Wondering if the Trial version is crippled in some way so that all Exports are the same size. Can anyone confirm on this? Quote Link to comment Share on other sites More sharing options...
spidercrab Posted December 19, 2015 Author Share Posted December 19, 2015 Looking at similar simple SVGs set to an Artboard size, I can see that the width and height in the Designer file is set to 100%, whereas in a similar Illustrator file, the size is set to the correct pixel dimensions in width and height. I.e in an Illustrator SVG: x="0px" y="0px" width="57.678px" height="95.125px" viewBox="168.438 178.5 57.678 95.125" enable-background="new 168.438 178.5 57.678 95.125" xml:space="preserve" wheres in Designer: width="100%" height="100%" viewBox="0 0 71 120" Therefore the Artboard dimensions are not being set in the SVG Export. So is this a bug? Quote Link to comment Share on other sites More sharing options...
spidercrab Posted December 19, 2015 Author Share Posted December 19, 2015 And one more thing. Optimising the Designer exported SVG using the SVG Optimiser at https://petercollingridge.appspot.com/svg-editorfixes the dimensions. (Using the Conservative setting and combining paths). Hoping this gets treated as a bug and gets fixed soon. Quote Link to comment Share on other sites More sharing options...
Staff Leigh Posted December 23, 2015 Staff Share Posted December 23, 2015 Welcome to the forum Spidercrab :) When exporting to .SVG there's an option in the More section called Set viewBox that when un-ticked will give you the correct Width & Height. More information can be found here. Quote Link to comment Share on other sites More sharing options...
spidercrab Posted January 2, 2016 Author Share Posted January 2, 2016 Leigh - Thanks for that. Sounds like this has been addressed. I actually gave up un Designer and have only just seen this and my trial has now run out so I can't check it unfortunately. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.