After I create an svg image and save it as svg plain code, I notice a lot of numbers after the decimal point on all the shapes I create.
I am looking for a book, tutorial or suggestion on a setting within Inkscape that will round these numbers to make my code simpler.
Thanks for any help.
A setting to round the numbers off.
Re: A setting to round the numbers off.
I think your only option is to open your SVG in an fully featured text editor and write a regular expression to strip the decimals.
But if the drawing looks the way you want, what do the decimals matter?
But if the drawing looks the way you want, what do the decimals matter?
Re: A setting to round the numbers off.
It's "numericprecision" attribute in preferences.xml. See: http://kaioa.com/node/25
Re: A setting to round the numbers off.
tried that, but then Inkscape crashed badly - see this bug report.
(using 0.46+devel and 0.47pre, don't know if it works with 0.46)
(using 0.46+devel and 0.47pre, don't know if it works with 0.46)
Re: A setting to round the numbers off.
use a grid and snap to that while drawing.
that works for me.
that works for me.