Closed Bug 921465 Opened 11 years ago Closed 10 years ago

PDF.js renders characters inconsistently

Categories

(Firefox :: PDF Viewer, defect, P3)

24 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: sean, Unassigned)

References

Details

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

Attachments

(2 files)

Attached image Screenshot showing the odd rendering (deleted) —
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release) Build ID: 20130910160258 Steps to reproduce: To reproduce this, look at the PDF file found on the Oracle support site: http://www.oracle.com/us/support/library/057419.pdf#page=4&zoom=auto,0,729 Actual results: The internal PDF viewer rendered the characters unevenly. Letters like 'n', 'h' and 'r' seem much taller than they should be. At a closer zoom, the letter 'l' appears to be in bold. Expected results: It should have rendered as you see in the Adobe viewer
Attached image Screenshot showing normal rendering (deleted) —
Component: Untriaged → PDF Viewer
Flags: needinfo?(sean)
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-standard-font]
Thanks for the quick response (and sorry for the slow one). I disabled HW acceleration but still see the same issue.
Flags: needinfo?(sean)
One additional item I just thought to test. I disabled all addons and restarted in safe mode but still see the same issue.
Sorry for the comment spam. I just played around with the zoom and at 140%+, it renders properly. Below that is when it starts to look wrong
Weird. Could you test with a clean profile (don't play with the settings in this new profile): https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Flags: needinfo?(sean)
I tried with a new, clean profile but still see the same issue
Flags: needinfo?(sean)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 I can reproduce the issue on latest Nightly (20131008030202) but only when HWA is disabled. Marking this as NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Yes, I tried with HWA off and it's reproducible. Just play with the zoom level to see the various issues (letters in bold e.g.).
Any ETA when this is gonna hit live? github says merged into master, but: Most PDFs look like this for me: http://snag.gy/WNJJm.jpg original: http://www10.informatik.uni-erlangen.de/Publications/Papers/2005/LBMCFD_LNCSE51.pdf
Firefox 35.0 was just released, the release notes say: PDF.js updated to version 1.0.907 I tested the LBMCFD_LNCSE51.pdf and oracle linked documents and the look fine with HWA on. The first one is maybe a bit blurry, but the bug seems to be resolved. (I tested on Windows 7 SP1 64 bit - 32 bit Firefox)
Yeap, it seems to be fixed indeed, very nice!
I just installed 35.0 and took a look at the original document, looks much better, thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Depends on: 960051
Resolution: --- → FIXED
Whiteboard: [pdfjs-c-rendering][pdfjs-d-standard-font] → [pdfjs-c-rendering][pdfjs-d-standard-font][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/4072
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: