Jump to content
ivan lavosky

[By Design] Stroke flattened if exported to SVG

Recommended Posts

Hello, 

I found that certain combinations of stroke's cap, join & align resulting in flattened stroke if exported to SVG. Oddly, it's only happened in closed shape (stroke that its start meets with its end).
I exported to SVG using AD and opened the SVG using AI. 

OS: Windows 10 Home
Affinity Designer: 1.8.5.70
Adobe Illustrator: 2021 (25.0 for 64 bit) 

I have made the list of the combinations that you can try for yourself to reproduce the issue. 
Step to reproduce the issue:

- Open the file I provided and export it to SVG (for export)
 

Flattened Stroke Test.afdesign

Share this post


Link to post
Share on other sites

Hi ivan lavosky,

Thanks for the detailed file, however this is unfortunately 'by design' and is due to the limitations of the SVG format not supporting a stroke's alignment setting. Therefore to ensure your file retains its look we expand this to be a closed shape that looks the same when viewed.

With that said there are some inaccuracies to note with your file:

  • Open curves can never be set to Align Inner/Outer so will always be Align Centre (despite what may have been selected) so these will always export as strokes.
  • Number 6 and Number 9 both have their closed Shapes set (incorrectly based on your comments) to Align Centre so that would explain why those are 'green' and not getting expanded.
  • Number 15 is also getting expanded on output, yet is incorrectly set to green.

Share this post


Link to post
Share on other sites

Hello Sean P,

 

Thanks for taking a look on my file & pointing out my incorrect comments. 
I also didn't know about that SVG format limitation. I thought it was potentially a bug.

So my best bet is leaving the "align" setting to "center".

Thanks for your clear explaination

Regards,

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.