Remove scientific notation pathData

Asked by ian

Is there any way to adjust the precision of pathData in Inkscape?

I make vector graphics for android, but android doesn't accept scientific notation, so do avoid digging into individual svg's and adjusting apthData, is there a way Inkscape has of adjusting pathData precision by preference!

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
ian
Solved:
Last query:
Last reply:
Revision history for this message
Hachmann (marenhachmann) said :
#1

Hi Ian,

You could try these:

Edit -> Preferences -> Input/Output -> Numbers -> Numeric precision or

File -> Save As... -> Optimized SVG -> select number of significant digits (this seems to only refer to the complete length of the number, including everything in front of and after the decimal point)

(I'm not sure this is what you want, as I don't know about 'scientific notation' - but maybe it helps )

Kind regards,
 Maren

Revision history for this message
ian (ian-andrew-alexander) said :
#2

Thanks, almost solved it with your method!
However you can only decrease the value of the exponent in preferences (an example of exponent/scientific notation is -10e-4)

But I did figure out a fix! If you save the file as an optimised svg then it gets rid of the scientific notation.