Jump to content

Recommended Posts

Posted

Download the SVG version of the shapes on this web page and open in Affinity Designer. The colours are consistently different from the ones that appear on the web page.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

Posted

I would say that there is more broken than the colours. On Windows the colours change too and the outlines are not connected lines. Saving from Chrome as PDF and everything is fine again.

------
Windows 10 | i5-8500 CPU | Intel UHD 630 Graphics | 32 GB RAM | Latest Retail and Beta versions of complete Affinity range installed

  • Staff
Posted

Hi Alfred,

That SVG is incredibly weird and looks like it uses CSS styling which we don't support. However what is weird is that the parser is actually ignoring the comment in the first part of the style (presumably because its styled as a JavaScript comment and is parsing that as the fill. Removing that chunk gives the correct colours, but the scaling is all off which I suspect might be related to the fact their is no unit definitions in the SVG, so some is getting imported as pixels, and points.

It's not the scaling, its actually the stroke width and stroke=endcap that are also being ignored. It looks to me as those are using CSS definitions and not SVG ones so unfortuntely they're not yet supported.

I'll pass the file on to development to look into though.

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

Terms of Use | 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.