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

PDF not rendering #4776

Closed
halleck1 opened this issue May 12, 2014 · 9 comments · Fixed by #5286
Closed

PDF not rendering #4776

halleck1 opened this issue May 12, 2014 · 9 comments · Fixed by #5286

Comments

@halleck1
Copy link

Hello everyone,

We have a case of PDF which does not seem to render correctly, the JPEG stream seems to be embedded and does not resolve correctly. (The link to the PDF file was deleted)

Please let me know once you've had a chance to download it - I'll need to remove it.

Vlad

@timvandermeij
Copy link
Contributor

I can reproduce this with the latest version of PDF.js. There are no warnings/errors in the console. @halleck1 Could you prepare the same type of PDF but with dummy data so we can keep it up here such that other developers can look at it?

@halleck1
Copy link
Author

Unfortunately we're not the authors of the PDF, it's coming from third party so I wouldn't know how to create such a PDF. When I try to blank out the sensitive bits and re-save it e.g. via Adobe Illustrator the new file renders OK. I'd probably rather wait till you guys all have the copy and then delete it.

@timvandermeij
Copy link
Contributor

I have made a minimal testcase that removes the sensitive data and still does not render with PDF.js:

https://mega.co.nz/#!7Ed0zZjb!SUvKssxmu0Zn-Ij-PrxJ-VZSYoSj3Cawe6UQ5bjtGj0

@halleck1
Copy link
Author

Perfect! I'm removing my original file now. Thanks!

@halleck1
Copy link
Author

Hello guys, is there any chance someone could have a look at this issue? We're seeing more of these files coming through...

Alternatively, if you could give us even the basic diagnosis of what's happening wrong there we could potentially have a look at it ourselves. We tried to understand what's breaking down but the PDF standard details are not easy to digest.

@timvandermeij
Copy link
Contributor

The infinite rendering is fixed by #4969, but the images are still missing. We now also have some more console output for these problematic files.

@halleck1
Copy link
Author

Thanks a lot, we'll try this version and will revert.

@halleck1
Copy link
Author

I can confirm that the text now renders correctly, still no images though. Thanks a lot!

@halleck1
Copy link
Author

I can confirm the issue is fixed. Thanks a lot!

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

Successfully merging a pull request may close this issue.

2 participants