Jump to content

Recommended Posts

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

Share this post


Link to post
Share on other sites

Is this purely for Affinity Designer and any precision does not transfer with the file to any exported format?

2130516934_ScreenShot2018-08-28at10_33_05.png.1afaabc60d318d79dd29dc72507ae9ea.png


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo, Publisher Beta 1.7.0.140, Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials Instagram & Flickr - Affinity Live 19th June 2019

Share this post


Link to post
Share on other sites
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.


Affinity Photo 1.7.1 & Affinity Designer 1.7.1; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.0.135 & Affinity Designer 1.7.0.9 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×