Closed
Bug 1196991
Opened 10 years ago
Closed 7 years ago
PDFs randomly don't load their fonts in print preview or when printed
Categories
(Firefox :: PDF Viewer, defect, P3)
Firefox
PDF Viewer
Tracking
()
RESOLVED
DUPLICATE
of bug 1524640
People
(Reporter: mwortham, Unassigned)
References
Details
(Whiteboard: [pdfjs-c-integration][pdfjs-d-printing])
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; CrOS x86_64 7077.134.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.156 Safari/537.36
Steps to reproduce:
Open PDF in firefox(local or web)
click print (in firefox menu)
view print preview
or
Open PDF in firefox(local or web)
click print (in pdf viewer)
look at printed out paper
Actual results:
At was appears to be random intervals the pdf will lose the text formatting. I observed this happens in about 20% of attempts.
If using the firefox print option the print preview will show this issue.
If printing using button in pdf plugin the printout will show this issue.
This was tested on both version 39 and 40 on 3 separate computers all running ubuntu linux.
Expected results:
The text should be formatted correctly every time when printing PDFs.
I attached the missing format screenshot but here is a link to both correctly and incorrectly formatted for reference. imgur.com/a/3mCS0.
Comment 1•10 years ago
|
||
Hello,
Are you still having this problem? If so, have you attempted to run this on Firefox 42.0?
When I attempted to reproduce this bug running on a unbuntu linux machine, everything was working fine.
Thank you,
Justin
Component: Untriaged → Printing: Output
Flags: needinfo?(mwortham)
Product: Firefox → Core
I was able to reproduce this once in a debug build of Nightly from a few days ago. It only shows up for me right after changing the default font configuration.
My steps to reproduce (which even then don't work every time):
1. load http://link.springer.com/content/pdf/10.1007%2Fs11263-011-0451-1.pdf (a freely available article from the same issue of the journal as the one in the screenshot above)
1. In Edit -> Preferences -> Content -> Fonts & Colors, change the default font, preferably to something sans-serif that will make the bug pretty visible
3. File -> Print Preview
It's not clear to me whether this is a bug in the fancy stuff that PDF.js does to load fonts for printing, or whether it's a bug in the Gecko implementation of that stuff. I'm going to move this to the PDF.js component for now, at least for further diagnosis.
Component: Printing: Output → PDF Viewer
Flags: needinfo?(mwortham)
Product: Core → Firefox
Summary: PDFs randomly have no text formatting in print preview or when printed → PDFs randomly don't load their fonts in print preview or when printed
Version: 40 Branch → Trunk
(Er, I ended up seeing it a second time while writing that comment, but didn't see it in further attempts.)
Updated•10 years ago
|
Priority: -- → P3
Whiteboard: [pdfjs-c-integration][pdfjs-d-printing]
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•7 years ago
|
||
I can confirm that this bug happens still in the latest version of Firefox. Try loading this document: http://www.unicode.org/L2/L2018/18170-shogi.pdf gi to page 4 through 7 and it will load normally the custom glyphs based on a dingbat font. However when you click on print from inside Firefox, it will print the latin letters. I will attach the actually printed documents to show you.
Comment 5•7 years ago
|
||
Attachment #8986309 -
Flags: review+
Comment 6•7 years ago
|
||
Brendan Dahl @bdahl, I think the priority of this bug should be raised,It was happening as late as version 60.
Flags: needinfo?(bdahl)
Comment 7•7 years ago
|
||
This will depend on bug 1473742 and https://github.com/mozilla/pdf.js/issues/9945 being fixed.
Depends on: 1473742
Flags: needinfo?(bdahl)
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•