Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct issues with default DPI value #21

Merged
merged 3 commits into from
Feb 21, 2018
Merged

Correct issues with default DPI value #21

merged 3 commits into from
Feb 21, 2018

Conversation

Tom-Archer
Copy link
Contributor

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.

The code previously hard-coded the DPI setting to 90. This has since changed in Inkscape 0.92 to 96. 
Updated the code to use the new Inkscape default, whilst also allowing the user to specify a DPI value from the command line.
@mtl
Copy link
Owner

mtl commented Feb 21, 2018

Thanks for the fix!

@mtl mtl merged commit 0b7103b into mtl:master Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants