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

Add base scale multiplier to viewport based on actual canvas width #31

Merged
merged 1 commit into from Jun 19, 2022

Conversation

batman-nair
Copy link
Contributor

Fix issue #20 where pdfs appear blurred because it's not scaled properly in pdf.js.

Pdf blur was from canvas/pdf size being smaller than the actual canvas rendered size.

Tested only basic usage previewing pdfs at different window sizes.

@MSzturc MSzturc merged commit 0447af1 into MSzturc:master Jun 19, 2022
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