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 thumbnail rotation regression #4055

Merged
merged 1 commit into from
Jan 2, 2014
Merged

Fix thumbnail rotation regression #4055

merged 1 commit into from
Jan 2, 2014

Conversation

Snuffleupagus
Copy link
Collaborator

This PR fixes a fairly recent regression that causes the thumbnails to not be rotated properly. The PRs responsible for the regression should be #3848, and to some extent #3978. The rotation issue might, for example, look like this:
thumbs_rotation

In this patch, besides fixing the regression, I've also made sure that thumbnail rotations are handled the same way as page rotations. (Basically PR #3971, but for thumbnails.)

Note that the reason that I didn't add the thumbnail equivalent of this code: https://github.com/mozilla/pdf.js/blob/master/web/viewer.js#L871-L874, is that it isn't necessary and it also wouldn't help when disableAutoFetch = true.

@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.21.233.14:8877/6c0e0318e27af68/output.txt

brendandahl added a commit that referenced this pull request Jan 2, 2014
…gression

Fix thumbnail rotation regression
@brendandahl brendandahl merged commit d005353 into mozilla:master Jan 2, 2014
@Snuffleupagus Snuffleupagus deleted the fix-thumbnail-rotation-regression branch January 2, 2014 18:40
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.

3 participants