Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

PDF handling between Firefox 71.x and 72.x

  • 1 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 18 ნახვა
  • ბოლოს გამოეხმაურა jscher2000 - Support Volunteer

I have a particular PDF (an invoice of sorts) that displays information regarding one company under version 71.0 (and below), but then displays information regarding a different company under version 72.0.2 (and above). It's as if there are two similar documents layered within the same file, but which 'document' is visible depends on which version of Firefox you're running...!? Aside from trying to understand the PDF, itself, can anyone explain how these versions of Firefox differ, in their own handling of PDFs? Something changed between the two releases.

I have a particular PDF (an invoice of sorts) that displays information regarding one company under version 71.0 (and below), but then displays information regarding a different company under version 72.0.2 (and above). It's as if there are two similar documents layered within the same file, but which 'document' is visible depends on which version of Firefox you're running...!? Aside from trying to understand the PDF, itself, can anyone explain how these versions of Firefox differ, in their own handling of PDFs? Something changed between the two releases.

ყველა პასუხი (1)

Hi JW, the PDF viewer, PDF.js, is developed over here:

https://github.com/mozilla/pdf.js/

Note: PDF.js does not fully support layers and definitely does not support hidden layers -- they are visible. For best results, remove "hidden" layers from your PDFs.

Firefox 71 vs. 72:

Updates get pulled into Firefox from time to time. It looks like these were the versions used, although I'm not completely sure:

  • Firefox 72: version 2.4.152, pdfjsBuild = '827eb64b'
  • Firefox 71: version 2.4.43, pdfjsBuild = '16ae7c69'

And I don't know Github well enough to compare them. You might want to test the development version here:

https://mozilla.github.io/pdf.js/web/viewer.html

On the right side of the viewer's black toolbar, you'll notice a folder with an up-pointing arrow which lets you load a local file into the page.

Same problem?

You may want to file an issue on the Github repository.