-
-
Notifications
You must be signed in to change notification settings - Fork 901
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
[breaking] Treat pts as pts #1717
base: main
Are you sure you want to change the base?
Conversation
Oooooo that's just lovely! Thank you for that! I'll happily release this, but in the next major, as this change might end up being very impactful on people's UIs. Also, we may need some documentation change? Not sure, will have to look into that. |
You're welcome! I'm sorry, I was rushing and messed up the commit. It should be pixels instead of points since the conversion is from pdf to css pixels. Also, the util from pdfjs isn't accessible so I just copied it out. I think it makes what is going on more explicit anyway. Hopefully it's correct this time! |
That looks good to me! My point stands though - I'll be merging this in the next major release. :) Thanks! |
Great, thank you @wojtekmaj! |
2d488c1
to
a077571
Compare
1f758cc
to
ce6db03
Compare
42a8c3c
to
0d68fee
Compare
d0aabb2
to
736f3f3
Compare
Sets the scale to the actual size of PDF :)
Fixes #1219