Jump to content
You must now use your email address to sign in [click for more info] ×

SVG not displayed correctly


Recommended Posts

  • Staff

Hi @Eroica,
This is an issue with Affinity Designer which is not parsing the file correctly. I believe we already have a similar case logged. I'm checking it out and adding your file to our report (or filling a new one if none exists yet). Instead of SVG try to export as PDF from matplotlib. Thanks for raising the issue.

Link to comment
Share on other sites

As MEB said above, the Affinity applications cannot convert all SVG elements properly.

I would suggest tinkering with the mathplotlib export settings to try and get the ‘simplest’ SVG which is still usable for your needs.
Which settings to tinker with, however, is a different question.

One suggestion would be to ‘flatten’ transforms.
Another might be to remove clip-paths, if possible.

I don’t know mathplotlib so I can’t say how you would do this.

If you find some settings that work for you then it would be good if you could share them here so other people, with the same problem, can also use them without having to go through the process you have went through.

Link to comment
Share on other sites

@Eroica  @GarryP @MEB

(Damn, tried to rewrite below post without svg tag names and made it completely harmless in every way, but still it didn't pass the security check on this forum (this forum is a little too protective), so now I just creat a screen shot of the text 😀 Hope it works now ...)

[edit] yes! it worked 😅

 

image.png.ea92130d93d02836574c98093f29a07a.png

 

Link to comment
Share on other sites

To add to my post above; this was just a quick look and check and I could be completely wrong or missing things. It might also be multiple things together not being supported (or perhaps even tags inside the file that might not be by the specification).  it could be all kinds of things causing this, but this looks like it might be the reason.

Link to comment
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

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.