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

Improper scaling in PdfDocumentPaginator #5

Open
jokey-smurf opened this issue Feb 11, 2022 · 2 comments
Open

Improper scaling in PdfDocumentPaginator #5

jokey-smurf opened this issue Feb 11, 2022 · 2 comments

Comments

@jokey-smurf
Copy link

dc.DrawImage(imgsrc, new Rect(0, 0, imgsrc.PixelWidth / (dpiX / 96.0), imgsrc.Height / (dpiY / 90.0)));

Do you think 96.0 and 96.0 for each axis would provide the proper scaling?

@jokey-smurf
Copy link
Author

LOL, why bother reporting this, no issues have been closed in 4 years.

@jChuckran
Copy link

I also found this issue and resolved it locally in my own version. I created a PR to allow them to easily add this fix if they decide to allow it.

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