Jump to content

Recommended Posts

Posted

Hi,
I am trying to import this SVG (svg file is linked) to Designer (Windows latest version of Designer I guess), and got strange result (different from Edge or Firefox):
I am expecting the first image but got the second one. 

image.png.d007a6cc868cde1f3f99a9110ec7f5d4.pngimage.png.d33b68ce9346a0053d3c1e1ec0845f5b.png

BYR_color_wheel.svg

Posted

I've tried this in browsers as well as Pixelmator Pro and Boxy-SVG, which have far superior SVG support. They all display it properly. (And come highly recommended for SVG work.) The code is literally just one type of shape repeated...

<path id="a" d="M2.991,0.815A3.1,3.1 0 0 0 2.991,-0.815L4.825,-1.311A5,5 0 0 1 4.825,1.311"/>

with a simple transform to rotate and place it in the correct positions.

<use xlink:href="#a" fill="#fe2712" transform="rotate(30)"/>

The problem, I believe is that Affinity Designer is incompatible with the CSS rotate transform function. Which honestly, is such a basic feature. Although SVGs typically use the matrix transform function, Affinity should've thought of this when designing for SVG compatibility. 

Mozilla says:

Quote

Warning: As per the spec, you should be able to also use CSS transform functions. However, the compatibility isn't guaranteed.

Anyway, I've converted these transforms into matrix transforms, which Affinity supports. 

BYR_color_wheel.svg

Posted
9 hours ago, Lee D said:

I've logged and pass this over to the developers as it imports correctly in Designer on macOS.

Not on OS 11.6.4

I am talking about the first file posted from dfleury2 not the fixed file from Zen22, the files have the same name.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

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.