-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Issue - Attachments
-
None
-
1
-
6
Issue Summary
File viewer plugin used by Jira to preview PDF files cannot preview PDF files with certain embedded fonts. It expects the loca and glyf tables to decode the embedded fonts. At times some of the PDF files created by third party vendors do not provide these tables and expect the PDF reader to be able to decode them. The same file can be previewed successfully by acrobat PDF viewer and firefox or chrome which uses OpenType Sanitizer for decoding fonts.
The PDF which cannot be previewed had MicrosoftYaheiUI as the embedded font with
Truetype (CID) and identity-H encoding. It errors out with
Error: Required "loca" table is not found com.atlassian.jira.jira-fileviewer-plugin:fileviewer-pdf-worker.js:47:171
Workaround
Download the file and preview it with acrobat reader or default browser