Closed Bug 1011159 Opened 10 years ago Closed 10 years ago

Text displayed upside-down and backwards in PDF using pdf.js

Categories

(Firefox :: PDF Viewer, defect, P3)

28 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED FIXED
Firefox 34

People

(Reporter: crjaquez, Unassigned)

References

Details

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

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 20140314220517 Steps to reproduce: I have a PDF which renders correctly in various versions of Adobe Reader but which contains text that is displayed upside-down and backwards when viewed using pdf.js. I have not attached the PDF as it contains some personal information but I would be willing to provide those necessary for the purposes of fixing the bug. To further clarify, by "upside-down and backwards" I mean that the individual glyphs are rendered upside-down and then the entire text run is rendered as if it were a rtl run even though it should be ltr.
Version: 27 Branch → 28 Branch
This is the expected result as shown in Adobe Reader.
This is the actual result as shown in pdf.js. Notice that the first glyph of each text run appears to be located in the correct horizontal position. From other text in the document, it appears that the actual bottom (visually the top) of the glyph is also in the correct vertical position, leaving the glyph just below where it should be located.
Component: General → PDF Viewer
Product: Core → Firefox
Can you sent the document to the ydelendik@mozilla.com and bwalker@mozilla.com ?
Flags: needinfo?(crjaquez)
E-mail sent.
Flags: needinfo?(crjaquez)
Generated by: 1.3 PDFlib 4.0.1-t3 (Linux 2.6.37.2) / afp2any v2.4-10
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering]
Confirmed as per comment 5.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [pdfjs-c-rendering] → [pdfjs-c-rendering][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/5210
It's fixed by bug 1055570.
Confirmed fixed, thank you.
Status: NEW → RESOLVED
Closed: 10 years ago
Depends on: 1055570
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Looks like this one came back, when viewing an annotated PDF, all of the textbox annotations are upside down and backwards in 40.0.03
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: