Revolution Posted August 26, 2018 Share Posted August 26, 2018 I cannot find the option for choosing the decimal precision. In Inkscape, you could set the amount of significant digits to 5, for intance, this resulted in the shapes' coordinates looking like this: 5 significant digits: 1.2345 12.345 123.45 1234.5 3 significant digits: 1.23 12.3 123 My whole web application is based around SVG (dragging around on a big SVG map,) so it will probably see a size reduction of at least 25% solely from dropping the three decimals in all coordinate numbers I know you can just do a regex find in an editor and search for \.\d\d\d and just delete all occurrences, but that gets tedious to do manually every time I want to export svg Quote Link to comment Share on other sites More sharing options...
Staff Callum Posted August 28, 2018 Staff Share Posted August 28, 2018 Hi Revolution, As far as I'm aware there is no way to change the decimal precision of SVG exports. Thanks C Revolution 1 Quote Please tag me using @ in your reply so I can be sure to respond ASAP. Link to comment Share on other sites More sharing options...
firstdefence Posted August 28, 2018 Share Posted August 28, 2018 Is this purely for Affinity Designer and any precision does not transfer with the file to any exported format? Quote iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions Link to comment Share on other sites More sharing options...
R C-R Posted August 28, 2018 Share Posted August 28, 2018 3 hours ago, firstdefence said: Is this purely for Affinity Designer and any precision does not transfer with the file to any exported format? As I understand it, "Decimal Places for Unit Types" (in both apps) applies only to the display of each unit type in the UI, but internally everything is always done at the maximum precision of the app, which (because internally it is binary rather than decimal based) is somewhat greater than 6 decimal places. Callum 1 Quote All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 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.