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 loses text when rendering #5499

Closed
jonassode opened this issue Nov 21, 2014 · 5 comments
Closed

PDF loses text when rendering #5499

jonassode opened this issue Nov 21, 2014 · 5 comments

Comments

@jonassode
Copy link

PDF loses text when rendering with pdf.js

See example
image
Left is pdf.js and right is how the PDF looks like in other Previewers.

Example pdfs can be downloaded here.
http://frialigan.se/wp-content/uploads/2013/06/Svavelvinter_quick-start_set.zip

Recreate
Download zip from above
Extract and locate Svavelvinter_scenario.pdf
Upload Svavelvinter_scenario.pdf to pdf.js previewer
Go to second page. Now most of the text is missing.

Similar errors with other pdf in the same zip above.

@Snuffleupagus
Copy link
Collaborator

I cannot reproduce this, using: Windows 7 (64-bit), Firefox Nightly 36 (buildID: 20141120030202) with HWA on, and PDF.js 1.0.962.

@jonassode Please check that this issue is present in the latest version of PDF.js. To do so, open the file(s) with the demo viewer (by clicking on the "Open file" button on the toolbar): http://mozilla.github.io/pdf.js/web/viewer.html
If the issue persists, you need to provide more information about your configuration. See the first paragraph of: https://github.com/mozilla/pdf.js/blob/master/CONTRIBUTING.md, from which I'm also quoting the relevant part:

The issues are used to track both bugs filed by users and specific work items for developers. Try to file one issue per problem observed. Please specify a valid title (e.g. "Glyph spacing is incorrect" instead of "PDF.js does not work") and provide more details about the issue: link to the PDF, location in the PDF, screenshot, browser version, operating system, PDF.js version and JavaScript console warning/error messages. Issues that do not have enough details provided will be closed as invalid/incomplete.

@gerges-zz
Copy link

Hey @Snuffleupagus,

I was able to reproduce this one on the pdf.js demo viewer with the file titled "Svavelvinter_quick-start_rules.pdf" (the issue first presents on the 3rd page). On the demo viewer, only the following is logged

 PDF 42f4c1fbae28f947a079e4627ccb5ce [1.7 Adobe PDF Library 9.0 / Adobe InDesign CS4 (6.0.6)] (PDF.js: 1.0.962)

If I bump the verbosity to PDFJS.VERBOSITY_LEVELS.infos I see additional output, which can be found here

Here's the other info you requested.
browser version: Chrome v39.0.2171.62 beta (64 bit)
OS: OSX 10.10.1 (14B17)
PDF.js version: 1.0.962

@ashley-hu
Copy link

Hi,
I could not reproduce the issue. All the text showed up in all the pdfs in the given download.

The text shows up for "Svavelvinter_scenario.pdf".
screen shot 2018-03-27 at 12 06 23 pm

The text also showed up in "Svavelvinter_quick-start_rules.pdf" on the 3rd page.
screen shot 2018-03-27 at 12 07 54 pm

Browser: Chrome Version 64.0.3282.186 (Official Build) (64-bit)
PDF version: 1.7
OS: OSX 10.11.6

@timvandermeij
Copy link
Contributor

Marking as upstream for now since it doesn't directly look like it's caused by PDF.js itself.

@Snuffleupagus
Copy link
Collaborator

Given the age of this issue, and the fact that it seems related to a particular browser (and its version) rather than the PDF.js library itself, should this simply be closed now?

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