There is an extension for inkscape that is supposed to get the info you need. If you parse through this thread you should find it.
Edit:
It’s post 100 or 101 in this thread