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

A few minor Python3 fixes #16

Merged
merged 1 commit into from
Dec 31, 2020
Merged

Conversation

MatthewJohnMorris
Copy link

  1. Provide compatibility shim for index.etree.SubElement(), to avoid deprecation warning
  2. Change pxPerInch (pixels per inch) so it's 96 for Inkscape 1.x (rather than the 90 used by Inkscape 0.9.x)
  3. Fix getLengthInches() so it supports documents with size in px - otherwise attempting to draw them crashes

1) Provide compatibility shim for index.etree.SubElement()
2) Change pxPerInch (pixels per inch) so it's 96 for Inkscape 1.x
3) Fix getLengthInches() so it supports documents with sice in px - otherwise attempting to draw them crashes
@MatthewJohnMorris MatthewJohnMorris changed the title A few minot Python3 fixes A few minor Python3 fixes Dec 31, 2020
@bullestock bullestock merged commit 424cd21 into bullestock:master Dec 31, 2020
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.

None yet

2 participants