Skip to content

Ignore *negative* /FitH parameters in the viewer (issue 14385) #14386

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

Merged
merged 1 commit into from
Dec 18, 2021

Conversation

Snuffleupagus
Copy link
Collaborator

This provides a work-around for badly generated PDF documents that contain negative /FitH parameters (in the referenced issue the value -32768 is used).

Fixes #14385

This provides a work-around for badly generated PDF documents that contain *negative* /FitH parameters (in the referenced issue the value `-32768` is used).
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/abce30ded63b5d0/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/abce30ded63b5d0/output.txt

Total script time: 4.13 mins

Published

@timvandermeij timvandermeij merged commit afa43d3 into mozilla:master Dec 18, 2021
@timvandermeij
Copy link
Contributor

Thanks! It keeps amazing me what some bad PDF generators do...

@Snuffleupagus Snuffleupagus deleted the issue-14385 branch December 18, 2021 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pdf.js doesn't navigate correctly to bookmarks
3 participants