Closed Bug 875205 Opened 11 years ago Closed 9 years ago

Math equations do not display well in pdf.js

Categories

(Firefox :: PDF Viewer, defect, P3)

20 Branch
x86
Windows Vista
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: susanc545, Unassigned)

References

Details

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

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:20.0) Gecko/20100101 Firefox/20.0 (Beta/Release)
Build ID: 20130409194949

Steps to reproduce:

I viewed http://aimsciences.org/journals/pdfs.jsp?paperID=8539&mode=full 


Actual results:

The large curly brackets and large parentheses in equations appear broken up, and the integrals do not display at all.


Expected results:

These should all display correctly.
The document has 18 pages, could you give some page numbers where you see the issue.
Component: Untriaged → PDF Viewer
Flags: needinfo?(susanc545)
Confirmed also on Windows 7, 64 bits, with Firefox 21.0, in safe mode and with a clean profile (User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0, Build ID: 20130511120803).

Reproducible also with latest Nightly 24.0: User agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:24.0) Gecko/20130522 Firefox/24.0, Build ID: 20130522031027.

I think she sees the issue at pages 5, 8 and 9 for big curly braces. Then, page 11, at the center of the equations, there are two signs which look like a part of big round parentheses.
Also, look at all the equals signs: the line above is displayed normally, but the other one is blurry, greyish. This happens also with the fraction line (for example look at page 12), but not always in the same way.
About integrals, they should be at page 8, but only the superior part is visible (in fact at first I didn't notice them al all!)

Other math pdfs which are displayed in a funny way:

- http://tutorial.math.lamar.edu/pdf/Common_Derivatives_Integrals.pdf (all the little round parentheses and the integrals are blurry/grey on the superior and inferior part, but not in the center, while fraction lines are totally grey/blurry)

- http://math.arizona.edu/~calc/Rules.pdf (same problem as above)

- http://www.math.ubc.ca/~andrewr/pdfs/int_guide.pdf (only the superior part of the integral sign is displayed)

- http://www.math.mcmaster.ca/lovric/rm/rmchapter8.pdf (this one has some lines g/blurry and others not, for example look at the last line on the left of the cloverleaf at page 8 and compare it to the last one at page 9)

However, this one is displayed well enough:
http://www.whitman.edu/mathematics/calculus/calculus_08_Techniques_of_Integration.pdf


Last thing: in Google Chrome the pdf file linked by the reporter has only one problem: the big curly braces are a bit (but just a little, little bit) chopped, but the shape is recognizable (in Firefox it's not). The integrals and the big round parentheses are displayed well.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(susanc545)
WFM with OSX, looks to be a windows only problem.
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-windows]
In this file, large sigmas and brackets do not render correctly.
http://arxiv.org/pdf/1309.4168v1.pdf
See equation (1) on page 3. 

Fails: Firefox 24, Windows 7 64-bit.
OK: Firefox 22, Ubuntu 12.04LTS, 64-bit.
OK: Sumatra PDF.
Bad render of large sigma in PDF document on Firefox 24.0/Win 7/64bit.
Comparison render of same PDF with Sumatra PDF 1.5.1.  This renders correctly with a competing non-Adobe PDF viewer.
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-windows] → [pdfjs-c-rendering][pdfjs-d-font-windows][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/3873
Still broken in Firefox 24/Win7/64 bit.
(In reply to John Nagle from comment #4)
> In this file, large sigmas and brackets do not render correctly.
> http://arxiv.org/pdf/1309.4168v1.pdf

WFM with firefox-24.0.en-US.linux64
(no hardware acceleration)
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-windows][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/3873 → [pdfjs-c-rendering][pdfjs-d-font-windows][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/3873 [bugday-20131104]
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 937670
Resolution: --- → FIXED
In this file, the sigma on the first page is larger than it should, and the integrals on page 6 are also larger than they should, etc.
http://www.damtp.cam.ac.uk/user/tong/qft/three.pdf
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: