Closed Bug 1660603 Opened 4 years ago Closed 4 years ago

[PDF integration] Some PDF files are displayed incomplete


(Thunderbird :: Message Compose Window, defect)



(Not tracked)



(Reporter: Nomis101, Unassigned)




(3 files, 1 obsolete file)

468.40 KB, image/jpeg
86.19 KB, message/rfc822
55.77 KB, application/pdf
Attached file thunderbird-pdf.jpg (obsolete) —

I've tested the new PDF integration in Thunderbird 81. Most PDF files are displayed correctly. There is one, which shows incomplete (compare screenshot). I can't attach the email or the file, because it contains sensitive private data.
I have tested with Firefox 81 and it looks correct there, so seems to be a Thunderbird issue.

In the source code of this email it says:


Content-Type: application/pdf; name="=?UTF-8?Q?L=C3=A4mmle.pdf?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="=?UTF-8?Q?L=C3=A4mmle.pdf?="



exiftool tells me about the affected PDF:

ExifTool Version Number : 11.39
File Name : Lämmle.pdf
Directory : /Users/polysom/Downloads
File Size : 144 kB
File Modification Date/Time : 2020:08:21 19:52:52+02:00
File Access Date/Time : 2020:08:22 12:23:21+02:00
File Inode Change Date/Time : 2020:08:22 12:23:21+02:00
File Permissions : rw-rw-rw-
File Type : PDF
File Type Extension : pdf
MIME Type : application/pdf
PDF Version : 1.5
Linearized : No
Page Count : 2
Language : de-DE
Tagged PDF : Yes
Producer : Microsoft® Word 2010
Creator : Microsoft® Word 2010
Create Date : 2019:07:17 10:54:58+02:00
Modify Date : 2019:07:17 10:54:58+02:00

I cant't generate a similar PDF by my own, because I do not have Microsoft® Word 2010.

Component: Mail Window Front End → Message Compose Window
Depends on: 810814
Attachment #9171525 - Attachment description: thunderbird-pdf → thunderbird-pdf.jpg
Attachment #9171525 - Attachment filename: thunderbird-pdf → thunderbird-pdf.jpg
Attached image Screenshot
Attachment #9171525 - Attachment is obsolete: true
Attached file Test.eml

This bug does still occur in Thunderbird 85. I've made a test case. The PDF is made with Microsoft Word 2016 for Windows. Firefox can display it without any issue. But as an attachment in Thunderbird, the PDF is displayed incomplete. You can open the example message in Thunderbird (85) and try to open the PDF in pdf.js.

Attached file Test.pdf

If the above steps doesn't work, here is the PDF. You can send this to yourself as attachment and then open the PDF in Thunderbird 85 PDF viewer. It will be displayed incomplete.

Depends on: 810815
No longer depends on: 810814

The test file looks the same for me in both Thunderbird 85.0b3 and in the latest Firefox nightly build (on Mac).

Interesting. For me I don't see any text in Thunderbird 85b3, but the PDF looks fine in the latest Firefox nightly build (on Mac).

Tried the test.eml on Mac with 85.0b3 and Daily and both show the PDF completely with the text.

OK, I found out what the issue was. This issue does happen, if "browser.display.use_document_fonts" is set to 0. But it also happens for Firefox, so it is not a Thunderbird issue. So I will close this.

Closed: 4 years ago
Resolution: --- → INVALID
See Also: → 1807042
You need to log in before you can comment on or make changes to this bug.