mtl / svg2mod

Convert Inkscape SVG drawings to KiCad footprint modules
Creative Commons Zero v1.0 Universal
236 stars 56 forks source link

Correct issues with default DPI value #21

Closed Tom-Archer closed 6 years ago

Tom-Archer commented 6 years ago

This PR addresses issue #17

The default DPI setting in Inkscape has changed from 90 to 96, this results in output footprints being the wrong scale.

I've replaced hardcoded DPI values with a new constant and in addition I've implemented a new flag in the command line options for those that use non-default DPI settings.

mtl commented 6 years ago

Thanks for the fix!