Jump to content
maxsteenbergen

Artboard export as SVG includes a <rect> named Artboard

Recommended Posts

I'm making a set of icons in SVG format, and have them all on their own artboard in 1 document.

Exporting an artboard to SVG (with no border or fill) includes a <rect> tag named like the artboard. I'd expect the artboard to just set the width/height & viewbox properties of the export, not to have its own rect path.

Maybe this could be just a checkbox in the export options?

Share this post


Link to post
Share on other sites

Hi,

 

Apologies for the late reply!

 

It should be the case if you export a singular artboard that the viewbox is basically the same as the artboards rect. This functionality exists so that if multiple artboards are exported each will need its own rect writing out, the viewbox is then set to the document size.

 

I see where you are coming from and agree that an option to remove the artboards rect if it is the only exported artboard would make sense, i'll get an improvement logged for the developers consideration.

 

Thanks


Serif Europe Ltd. - www.serif.com

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.