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

Fix PDF scaling when rotating #508

Merged
merged 1 commit into from
Aug 11, 2019
Merged

Fix PDF scaling when rotating #508

merged 1 commit into from
Aug 11, 2019

Conversation

VadimDez
Copy link
Owner

No description provided.

@VadimDez VadimDez added this to the 5.3.4 milestone Aug 11, 2019
@VadimDez VadimDez merged commit 7110f5b into master Aug 11, 2019
@VadimDez VadimDez deleted the fix-scale-with-rotation branch August 11, 2019 19:06
Comment on lines +345 to +348
scale = this.getScale(
(page as any).getViewport({ scale: 1, rotation: this._rotation })
.width
);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only format code :))

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.

2 participants