Sign in to follow this  
Followers 0
kirbez

SVG opens with artefacts

3 posts in this topic

It's due to the SVG <style> defs structure here, the Affinity SVG parser doesn't handle the formating for multiple CSS style tags here. So it can't deal correctly with this ...

...
<defs>
  <style>
    .cls-1,
    .cls-15,
    .cls-16{fill:#b081cf;}
    ...
  </style>
</defs>
...

... instead the Affinity SVG parser can probably only handle it this way here halfway right ...

...
<defs>
  <style>
    .cls-1 {fill:#b081cf;}
    .cls-15 {fill:#b081cf;}
    .cls-16 {fill:#b081cf;}
    ...
  </style>
</defs>
...

 

screenshot.jpg.581672c54f0a3fd406925674b57a3c50.jpg

All in all there are much SVG spec things still left it can't parse and handle correctly.

Share this post


Link to post
Share on other sites

Hi kirbez

 

Thanks for the file, and thanks v_kyr for finding a solution. I shall pass this on to the development team to see if we can improve our SVG import

 

Cheers


Serif Europe Ltd - Check the latest news at www.affinity.serif.com

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0