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

Pdfjs not rendering pdf correctly. Some items are missing. #12537

Closed
PriyankaKakade6837 opened this issue Oct 27, 2020 · 3 comments
Closed

Pdfjs not rendering pdf correctly. Some items are missing. #12537

PriyankaKakade6837 opened this issue Oct 27, 2020 · 3 comments

Comments

@PriyankaKakade6837
Copy link

PriyankaKakade6837 commented Oct 27, 2020

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

Configuration:

  • Web browser and its version:
    Window 10 Chrome (Version 86.0.4240.111), Mac High sierra Chrome(Version 86.0.4240.111)
  • PDF.js version: v2.3.200, v2.5.207

Steps to reproduce the problem:

  1. Open original pdf in browser
  2. Open same pdf in pdf js sample demo

What is the expected behavior? (add screenshot)

  1. On page 6 in original document you can see two phones but when pdf is rendered in pdfjs sample you see only one mobile. Please refer original document for expected behavior.
    Original_pdf_mobile

  2. Font also on all pages should be same as original pdf.
    Original_pdf_font

What went wrong? (add screenshot)

  1. Instead of two mobiles on page 6 it is showing only one mobile.
    Pdfjs_sample_demo_mobile
  2. Font is different than original pdf.
    Pdfjs_sample_demo_font_issue

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

@Snuffleupagus
Copy link
Collaborator

Web browser and its version:
Window 10 Chrome (Version 86.0.4240.111), Mac High sierra Chrome(Version 86.0.4240.111)

Given that it looks OK in Firefox, this is most likely a duplicate of #12462; note #12462 (comment) in particular.

PDF.js version: latest pdfjs version

You should always provide the actual version number, since "latest" isn't really helpful.

@PriyankaKakade6837
Copy link
Author

We have checked it on pdfjs v2.3.200 and v2.5.207. Found same issue. Updated original issue also for same.

@Snuffleupagus
Copy link
Collaborator

We have checked it on pdfjs v2.3.200

That version is no longer supported; besides #12537 (comment) mentioned this being a browser bug rather a PDF.js one.

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

No branches or pull requests

3 participants