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

[Question] Penplot, pixels per inch #10

Open
nkint opened this issue Feb 26, 2020 · 1 comment
Open

[Question] Penplot, pixels per inch #10

nkint opened this issue Feb 26, 2020 · 1 comment

Comments

@nkint
Copy link

nkint commented Feb 26, 2020

In penplot.js code there is this magic number for pixel per inch:

var DEFAULT_PIXELS_PER_INCH = 90;

Why this number?

@nkint
Copy link
Author

nkint commented Feb 27, 2020

Thanks @mattdesl.
It is because of the way inkscape translated pixels to physical units.
See here: https://wiki.inkscape.org/wiki/index.php/Units_In_Inkscape

@nkint nkint closed this as completed Feb 27, 2020
@nkint nkint reopened this Feb 27, 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

No branches or pull requests

1 participant