pdf preview doesn't display text for pdf files that are missing an embedded font
Categories
(Thunderbird :: Untriaged, defect)
Tracking
(Not tracked)
People
(Reporter: acmazer8888, Unassigned)
Details
Steps to reproduce:
I tried to open a pdf attachment with the built-in pdf viewer. The error occurs with pdf files that are missing an embedded font. The missing font in question is "Arial, Type: TrueType, Encoding: Ansi".
Error Console output:
renderView: "TypeError: performance is null" viewer.js:7892:19
renderView resource://pdf.js/web/viewer.js:7892
Actual results:
The pdf opens, but without showing most of the text on it.
Expected results:
The text should be displayed regardless of a missing font.
Comment 1•2 years ago
|
||
Can you attach a sample. Can you view the file in Firefox? (The pdf viewer is shared code.)
| Reporter | ||
Comment 2•2 years ago
|
||
Using a local copy of the pdf.js downloaded from github (version 3.4.120), I can successfully open the pdf file in my browser.
Sadly I cannot share a sample file as they are confidential. Are you unable to reproduce the issue on your end?
Comment 3•2 years ago
|
||
Can't test it without a sample.
You may want to try thunderbird beta as well, and see if it works there.
| Reporter | ||
Comment 4•2 years ago
|
||
I sent you a mail that is hopefully capable of reproducing the issue.
The bug seems to not be due to missing fonts, as a pdf file that couldn't be opened correctly in one mail, worked correctly in another. I'm not seeing a pattern. Hopefully you'll be able to diagnose something.
Comment 5•2 years ago
|
||
I can confirm the file looks different in firefox vs thunderbird (daily). I don't know why.
Comment 6•2 years ago
|
||
Does this also reproduce when using version 115 started in Help > Troubleshoot Mode?
If it does, and you have not already done so, please list complete steps to reproduce.
Resolved per whiteboard
Description
•