Jump to content

SVG files from Python importing well in Inkscape, but not well in Affinity designer 2.2


microbe17

Recommended Posts

Hello,

I am trying to modify a figure I made using a Python script, and affinity designer does not open the svg file well. All the text is stacked. I am on windows 10. I saved my figure using plt.savefig('figure_name.svg', format='svg')

The problem is not the svg, as it is opening well in Inkscape.

Any solution ? image.thumb.png.fa35d86b41df901b94545b19c19c8610.png

Link to comment
Share on other sites

  • Staff

Welcome to the forums @microbe17,

We have had a similar issue reported in the past with stacked text on SVG's created with matplotlib which I believe is a plotting library for Python. Unfortunately i'm not aware of any workaround as the SVG is failing to parse text Designer, perhaps if you were to export it out of Inkscape to SVG and then import it into Designer it would then open as expected (Bit of a long round trip though unfortunately).

Could you send me a copy of the SVG so I can confirm it can be replicated and get it logged? I've included a private upload link below if needed.

https://www.dropbox.com/request/24Ixnnacmoq4DKRiHmhs

Many thanks

Link to comment
Share on other sites

That's a longer time known issue and so far still one of the limitations of the Affinity SVG parser. - See related ...

... and so on !

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

  • 2 weeks later...
  • 7 months later...
  • 6 months later...

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.