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

scaling issue 90dpi 96dpi #15

Open
lankycanadian opened this issue Aug 23, 2019 · 1 comment
Open

scaling issue 90dpi 96dpi #15

lankycanadian opened this issue Aug 23, 2019 · 1 comment

Comments

@lankycanadian
Copy link

I'm running into scaling issues using svg_stack which seem to be caused by the change from 90dpi to 96dpi as the default for svg files.

I have a python3 script which takes various svgs, sorts them, and uses svg_stack to put them together onto a single page, saves it as an svg, and then uses inkscape to export to pdf.

On some machines the scale in my final svg / pdf is correct. On other machines the output is scaled down by 90/96 (93.75%).

The machines that work correctly are running older version of Linux Mint, the ones that fail are running newer versions of Ubuntu.

The base svgs are created and saved in Inkscape. I can get them to output at the correct scale if inside Inkscape I change the "Custom Size" units from mm to px in the Document Properties. The problem is that I've got lots of base svgs and I want them to be in mm so it's easier for users to create and save them.

I previously opened this issue and incorrectly closed it thinking it was a windows / Inkscape error
#10

I'd love some help to have these scale correctly!!

@astraw
Copy link
Owner

astraw commented Mar 13, 2021

Apologies for the delay.

I merged 3e195b1 which I think might fix this. Can you check the main branch and see if your issue is fixed?

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

No branches or pull requests

2 participants