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

[BUG] Exported size of SVG are wrong


Tormy

Recommended Posts

14 minutes ago, Hens said:

Win= 96 dpi
Mac=72 dpi

Mac = 72 or 144 dpi

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

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

Link to comment
Share on other sites

31 minutes ago, Wosven said:

Some apps will import at 72 or 96 PPI.

If I export your file from AD with 96 PPI, it's nearly the same in Inkscape:

2022-02-10_222852.png.bbbdd1fe0befdfffbba4ab1f85514433.png

 

By default, it's importing at 96 PPI, perhaps you need to test 72 and 96 for each app.

2022-02-10_223558.png.d7392de30617b81fc4feb424a9d9383d.png

That's interesting. Is there not a universal way to define the size then 😕

Link to comment
Share on other sites

On 2/10/2022 at 11:10 PM, Old Bruce said:

Mac = 72 or 144 dpi

instead, thanks to a suggestion, I found that Affinity Designer is not exporting SVG with size information inside.

I tried already this, it was not working ut I think I did wrong something. Indeed now it works

 

how AFFINITY DESIGNER exports data:

<svg width="100%" height="100%" viewBox="0 0 468 114" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">

Which is wrong!

 

How it must export to comply to declared sizes:

<svg width="165mm" height="40mm" viewBox="0 0 468 114" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">

hence I can consider this as a bug

The final result is correct IF I modify the SVG manually. This bug must be correct asap.
image.png.460e8aae9be52b703db598684a9ead72.png

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.