Wrong accents in pdf, unless highlighted by mouse and focus lost

VERIFIED FIXED

Status

()

VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: egmont, Unassigned)

Tracking

19 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(firefox20 affected, firefox21 verified, firefox22 verified)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 716258 [details]
The PDF that is rendered incorrectly.

Open the attached PDF file with the builtin pdfjs viewer.  (I'm using Firefox 19.0 on Ubuntu Quantal, as packaged by the distro).

The accented letters all look incorrectly, they are replaced by a symbol, as you can see on the attached screenshot.  Evince renders the document correctly.  (The document is in Hungarian, you should see familiar English letters, plus accents on some vowels, nothing fancier.)

If you highlight any part of the text, and then make the page area lose mouse focus (e.g. by clicking in the URL part, or focusing another window) then the accents become correct in the highlighed area.  You can also see that the spacing becomes a little bit different, i.e. on the screenshot the last letter of the highlighted text, an "o" does not completely hide the non-highlighed version of the same "o" letter.

Expected behavior: The letters should always be shown correctly. Furthermore, highlighing with mouse, or making the document lose mouse focus should in no way influence the look or the very exact position of the letters.
(Reporter)

Comment 1

6 years ago
Created attachment 716259 [details]
Screenshot of incorrect rendering.
(Reporter)

Comment 2

6 years ago
Some further examples:

http://www.bkv.hu/hajo/D11_.pdf -> Note the 45deg rotated text; after highlight and focus out, the version with correct accents is not rotated. I hope this might give you a clue where to look for the problem.
http://www.bkv.hu/hajo/D11_vissza_2.pdf -> Only the header line
http://www.bkv.hu/busz/54_5.pdf
http://www.bkv.hu/busz/54vissza_5.pdf
http://www.bkv.hu/busz/64A_5.pdf
Should be fixed in nightly version of firefox.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
 Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20130228 Firefox/22.0, Build ID: 20130228165151
Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20130228 Firefox/21.0, Build ID: 20130228042012

Verified the fix on latest Nightly and Aurora builds.
Will this be fixed on Firefox 20 beta, as well?
status-firefox20: --- → affected
status-firefox21: --- → verified
status-firefox22: --- → verified
Status: RESOLVED → VERIFIED
(Reporter)

Comment 5

6 years ago
Verified by me too. Thanks guys for the really fast response! :)
You need to log in before you can comment on or make changes to this bug.