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

A high 'scale' value distorts the rendering #12550

Closed
PatrickFromHolland opened this issue Oct 29, 2020 · 1 comment
Closed

A high 'scale' value distorts the rendering #12550

PatrickFromHolland opened this issue Oct 29, 2020 · 1 comment
Labels

Comments

@PatrickFromHolland
Copy link

PatrickFromHolland commented Oct 29, 2020

used files:
page42.pdf (the example pdf-1 page only)

A full example with 1 html file and the pdf:
pdfjs.zip

Configuration:

  • Firefox 81.0.2
  • Windows 10:
  • PDF.js version: 2.7.215
  • Is a browser extension: no

Steps to reproduce the problem:

  1. select scale-value 1.5 which renders fine (default).
  2. select scale-value 5.0 (or higher)

What is the expected behavior? all output should render the same (i.e. like below)

correctRender

What went wrong? The rendered output added extra border-width (or some padding?) that distorts the layout. When selecting an even higher scale all texts disappear behind this border.

wrongRender

veryWrongRender

@Snuffleupagus
Copy link
Collaborator

Fixed by PR #13361.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants