Closed
Bug 904941
Opened 11 years ago
Closed 10 years ago
PDF file displays with all pages completely blank
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: bugzilla, Unassigned)
References
Details
(Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-d-font-wont-sanitize][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/3883)
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36
Steps to reproduce:
Run Firefox 23.0 on Windows 7 Ultimate SP1.
In the Options/Options/Applications dialog set "pdf" to "Preview in Firefox".
View the PDF file at https://dl.dropboxusercontent.com/u/83314005/bankVerification.pdf
(file also attached - we have many files behind a firewall that exhibit this problem, but this is the smallest example I could generate)
Actual results:
The correct number of pages (2) is displayed, but all pages are blank and the spinner runs forever.
The same problem occurs with Firefox 23.0 on Ubuntu 12.04.
The same problem also occurs if you read the file directly from local disk instead of using HTTP.
Expected results:
The pages should display the same content that is shown by IE, Chrome, Safari, and Opera on Windows, and by Chrome on Ubuntu.
The correct content is also shown by Firefox 23.0 if I use the Options/Options/Applications dialog to set "pdf" to "Use Adobe Acrobat (in Firefox)".
Comment 1•11 years ago
|
||
I can reproduce the problem in FF23 on Linux64. I see two blank pages with
a spinning throbber. Firefox is consuming 100% CPU. Reloading the page gives
the same result.
In Nightly it works somewhat better, it occasionally results in blank pages
with throbber (or no pages, just grey background), using <1% CPU though.
Reloading the page usually displays the pages (seemingly correct), but with
a notification "This PDF document might not be displayed correctly" with
button to open in external viewer. In the Web Console I see a few of these:
"downloadable font: table 'maxp': failed to parse table (font-family: "g_font_16_0" style:normal weight:normal stretch:normal src index:0)
source: data:font/opentype;base64,AAEAAAA... (~5k of data)"
Component: General → PDF Viewer
Product: Core → Firefox
Comment 2•11 years ago
|
||
Working range:7
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ea767da526ff&tochange=6e2789a70f6b
Ryan VanderMeulen — Bug 871530 - Update pdf.js to version 0.8.169. r=dtownsend
In FF26, I get the same error message about fonts but the PDF "seems" to be displayed fine.
Comment 4•11 years ago
|
||
Seems to be better in FF26, but the barcode font is still having issues.
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-d-font-wont-sanitize]
Comment 5•11 years ago
|
||
Marking as NEW as per above comments.
I could also reproduced on Ubuntu using Fx 23.0.1. On the latest Fx versions (24, 25, 26), the document is shown (except the barcode).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•11 years ago
|
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-d-font-wont-sanitize] → [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-d-font-wont-sanitize][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/3883
The barcode is visible now. Fixed by bug 937670?
Updated•10 years ago
|
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•