Brian M Posted August 31, 2021 Share Posted August 31, 2021 Here's a simple SVG: <svg width="4in" height="4in" viewBox="0 0 384 384" xmlns="http://www.w3.org/2000/svg"> <circle cx="192" cy="192" r="196" /> </svg> It's a 4-inch circle, at 96 DPI. The DPI can easily be inferred from the svg tag. Opening the file in Affinity produces questionable and frustrating results: The document gets changed from inches to pixels and transparently rescaled to 72 DPI, discarding any information about the original size and DPI. If you then re-export at 96 (which needs to be the DPI for some applications) it will now be 3 inches. (And if even if you change the document units back to inches, that information will be lost when you export it, but that's a separate issue). This is somewhere between frustrating and infuriating for people who need their designs to have real-world dimensions. I create and sell designs for laser cutters, and I already have to fix my SVGs after exporting from Affinity to have fixed dimensions in order to get them to work with all laser software. But if someone wants to open my design in Affinity and make an adjustment, then re-export, their design is going to shrink by 75%. My request is that my default, SVGs that are sized in inches or millimeters retain both their original document units and pixel dimensions (and therefore DPI). To me, any other behavior is a bug. Along with the inability to export in inch/millimeter units, this behavior causes endless headaches for laser users and designers. Wosven and kenmcd 2 Quote Link to comment Share on other sites More sharing options...
Staff Sean P Posted September 1, 2021 Staff Share Posted September 1, 2021 Hi Brian M, This is actually something we do have logged, and I do agree that we should be respecting the units on import. I will pass your comments over to development and get the issue bumped with them. Quote Link to comment Share on other sites More sharing options...
Brian M Posted September 1, 2021 Author Share Posted September 1, 2021 @Sean P Thank you. Is the issue of not being able to export with real units on the radar as well? I was going to file a separate report about that, but haven't done so yet. Sean P and kenmcd 2 Quote Link to comment Share on other sites More sharing options...
Staff Sean P Posted September 2, 2021 Staff Share Posted September 2, 2021 15 hours ago, Brian M said: @Sean P Thank you. Is the issue of not being able to export with real units on the radar as well? I was going to file a separate report about that, but haven't done so yet. It is indeed - no need to create a separate report. Brian M 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.