Copy link to clipboard
Copied
Hi there.
Is there a way to export an AI-document to SVG (with internal CSS) in such a way, that the SVG viewbox matches the document size in AI?
Thanks
Nope, that didn't do it. I used a combination of "export with canvas" and javascript to adjust the viewport settings in the SVG. If there really is no way of "set SVG viewport size to canvas size", I wish Adobe would add that.
Copy link to clipboard
Copied
Edit: found it I think. I got the german version of AI, but I'd assume that the english version calls this option "export with canvas" or something like that.
Copy link to clipboard
Copied
Nope, that didn't do it. I used a combination of "export with canvas" and javascript to adjust the viewport settings in the SVG. If there really is no way of "set SVG viewport size to canvas size", I wish Adobe would add that.