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

Wrong content behaviour on the pdf #11332

Closed
AlexP3 opened this issue Nov 14, 2019 · 3 comments
Closed

Wrong content behaviour on the pdf #11332

AlexP3 opened this issue Nov 14, 2019 · 3 comments
Labels

Comments

@AlexP3
Copy link

AlexP3 commented Nov 14, 2019

Attach (recommended) or Link to PDF file here:
pdf.pdf

Configuration:

  • Firefox 70.0.1 (64-bit)
  • Microsoft Windows 10 Pro, 10.0.18362 N/A Build 18362
  • PDF.js: 2.3.101 (Firefox console output)
  • built in

Steps to reproduce the problem:
Drag and drop the pdf file in a firefox browser.

What is the expected behavior? (add screenshot)
Line on the first page should have start coordinates x=100, y=100.
pdf
I have checked on a Chrome and Adobe, works fine.

What went wrong? (add screenshot)
Line on the bottom of the first page has start coordinates x=0, y=0.
pdf_wrong

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

@timvandermeij
Copy link
Contributor

I can reproduce this using Firefox 70.0.1 (64-bit, Linux). There are no warnings/errors in the console.

@THausherr
Copy link
Contributor

This one does the transformation after the path has been set but before the draw. All PDFs I have seen do the transformation first. I could not find which way is correct by looking at the PDF specification.

@Snuffleupagus
Copy link
Collaborator

Duplicate of #10908

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

4 participants