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

3 Of 9 barcode is not generated properly #8187

Closed
lenfocus opened this issue Mar 23, 2017 · 5 comments
Closed

3 Of 9 barcode is not generated properly #8187

lenfocus opened this issue Mar 23, 2017 · 5 comments

Comments

@lenfocus
Copy link

Link to PDF file (or attach file here):
PDF file display
capture_item1

PDF preview view PDF.js
capture_item2

Configuration:

  • Web browser and its version: Chrome 50.0.2661.94 m
  • Operating system and its version: windows 7
  • PDF.js version: v1.6.210
  • Is an extension: No

Steps to reproduce the problem:

  1. The PDF converts to base64 string
  2. Use the base64 string to generate preview

What is the expected behavior? (add screenshot)
capture_item1

What went wrong? (add screenshot)
3 Of 9 barcode is generated with extra space in the middle

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

@yurydelendik
Copy link
Contributor

Can you provide sample PDF? It's hard to tell what's causing it. My bet it's a low quality image in the PDF.

@lenfocus
Copy link
Author

Thanks Yury. I have sent PDF files and the source code to your mailbox for recommendation.

@yurydelendik
Copy link
Contributor

Reduced test case

case1.pdf

@lenfocus
Copy link
Author

Hi Yury,

I have tried again with the reduced test case. The situation is screendump for your information.
image

Test project
TestPDFJS.txt

Change the '.txt' to '.zip' and unzip

@bntconan
Copy link

bntconan commented May 4, 2017

Hi, may i know if there is any update? I have encountered the same issue too.

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

No branches or pull requests

5 participants