Jump to content

Request for improved SVG import


Recommended Posts

Hi,

Love Affinity Designer.

This is an issue when importing SVG files.

In SVG, a common method for centreing text in a box is to use percentage values for X and Y attributes of the <text> element. The same method also uses the "dominant-baseline" attribute. See the small enclosed example to show the technique.

It is unfortunate that SVGs that use these attributes do not currently import into AD correctly (but do import into browsers and Inkscape correctly). The text is not centred in the box at all.

 centre.svg

It would be a useful enhancement to support these attributes. Perhaps this one could be quick/fairly easy to resolve, knocking another issue off the list?

Link to comment
Share on other sites

  • 1 month later...

I second this request.

All text in figures generated in matplotlib and saved as .svg collapses on top of the first letter.

Editing/compiling figures exported from matplotlib is my main use case, I'm still in the free trial period and can't consider buying with this bug. 

Link to comment
Share on other sites

  • 6 months later...

This SVG import bug has been bugging me for years. I'm also producing a lot of figures using Matplotlib, and always have to resort to using the cairo backend for creating svg files that import correctly into Affinity.

Hopefully this will be fixed at some point, because it's really annoying...

Here are some posts from 2021 that describe the problem:

 

 

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.