Closed Bug 760997 Opened 14 years ago Closed 11 years ago

Minus signs missing from displayed pdf document

Categories

(Core :: Graphics: Canvas2D, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jonathan_haas, Unassigned)

References

Details

Attachments

(2 files)

Attached image screenshot.png —
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/15.0 Firefox/15.0a1 Build ID: 20120602030527 Steps to reproduce: I opened http://www.rz.rwth-aachen.de/global/show_document.asp?id=aaaaaaaaaachrpi Actual results: If you compare the displayed document to Adobe or some other reader you will see that there are some differences. For example in the top row of the Q matrix, Firefox displays cosβ sinβ 0 but it should have displayed cosβ -sinβ 0 instead. Zooming in or out fixes the problem for some reason. Expected results: Firefox should have displayed the document correctly.
Component: Untriaged → PDF Viewer
Version: 15 Branch → Trunk
Blocks: 714712
a canvas is not handling a font scaling very well on Windows for this case: some of the minuses are missing on different zoom levels. Not sure it's only the issue of the PDF Viewer. CC'ing Jonathan for ideas.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: PDF Viewer → Canvas: 2D
Product: Firefox → Core
QA Contact: untriaged → canvas.2d
Interestingly IE9 renders your testcase as wrong as Firefox (looks exactly the same) and with Chrome there is one minus sign missing, too. But it works completely fine with Firefox 13 using Ubuntu so it may be some issue with the Windows font rasterizer or something.
I think this is the same problem as https://github.com/mozilla/pdf.js/issues/3706 which was due to a bug in DirectWrite version 6.1. https://github.com/mozilla/pdf.js/issues/3706#issuecomment-24951062 has instructions for how to upgrade to the fixed version.
I can confirm that this bug no longer appears when DirectWrite is updated to 6.2. Should I close this as WORKSFORME or should we keep tracking this for users still using the old version?
Can we be sure, that most users updated to DirectWrite 6.2 by now? Then we can probably close this bug. Otherwise this might warrant a FAQ entry, or a warning message for users who are still using the old version.
Closing this for now because it works with current Windows/DirectWrite versions and it's not our bug. If someone disagrees, please reopen.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: