Thursday, December 24, 2015

Importing SVG into Illustrator with proper viewBox size


When I try to open an svg file with Illustrator, Illustrator defaults to whatever artboard size was last used when a file was open. As such, the svg, if not the same size as the previous artboard, is then placed and auto-resized into that artboard.


Is there a workaround for this that does not involve opening a fake document with the artboard size of the svg, then closing that doc and File > Open the actual svg?


Note: I do not want to save the svg from Illustrator with the "preserve Illustrator editing capabilities" in the save as svg dialog.


You can test this with any svg, but here's a super simple one that is 320 x 240:






viewBox="0 0 320 240" enable-background="new 0 0 320 240" xml:space="preserve">

Why?



No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...