Closed Bug 1175943 Opened 11 years ago Closed 11 years ago

Built-in PDF viewer fails with Unicode charts on Mac platform

Categories

(Firefox :: PDF Viewer, defect)

36 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 42

People

(Reporter: root, Unassigned)

References

Details

(Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/6171)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 Build ID: 20150321194901 Steps to reproduce: We've been getting multiple reports of PDF files being improperly rendered by the built-in PDF viewer on the Mac platform (only). The contents shown are completely garbled. Many example PDF files exhibiting this problem can be seen at http://unicode.org/charts/ especially Indic scripts. Also, for example, this file for the newly added Old Hungarian script: http://www.unicode.org/charts/PDF/Unicode-8.0/U80-10C80.pdf Actual results: Everything in the code chart is just bogus, not Old Hungarian at all. (The screenshot shows the Old Hungarian chart actually displaying Telugu glyphs.) Expected results: Should display Old Hungarian from the embedded font.
Component: Untriaged → PDF Viewer
Blocks: 1175962
Some additional clarifications: 1. the Old Hungarian code block shows Kannada glyphs, not Telugu (at least for me) 2. other blocks show reasonable results until you get to complex combining characters. See for example http://unicode.org/charts/PDF/U0980.pdf for Bengali and http://unicode.org/charts/PDF/U0900.pdf for Devanagari. This may have to do with the use of dotted circles (see http://rishida.net/blog/?p=1433 for more on that). 3. the Old Hungarian problem is not down to the use of supplementary characters. Elbasan, for example, looks fine, see http://unicode.org/charts/PDF/U10500.pdf 4. in some cases, the character doesn't appear at all. See for example the new character U+0AF9 in Gujarati http://unicode.org/charts/PDF/U0A80.pdf (cf. http://rishida.io/uniview/?block=gujarati) 5. you don't get any of these problems on the Mac with Chrome, or with Adobe viewer.
Reproduced with Nightly 42.0a1 2015-07-02 under Mac OS X 10.9.5.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/6171
Depends on: 1182228
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: