Last Comment Bug 875205 - Math equations do not display well in pdf.js
: Math equations do not display well in pdf.js
Product: Firefox
Classification: Client Software
Component: PDF Viewer (show other bugs)
: 20 Branch
: x86 Windows Vista
P3 normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Brendan Dahl [:bdahl]
Depends on: 937670
  Show dependency treegraph
Reported: 2013-05-22 22:27 PDT by susanc545
Modified: 2015-06-08 18:46 PDT (History)
8 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

mozillapdfrenderofsigma.png (27.25 KB, image/png)
2013-09-28 15:22 PDT, John Nagle
no flags Details
sumatrapdfrenderofsigma.png (28.06 KB, image/png)
2013-09-28 15:25 PDT, John Nagle
no flags Details

Description User image susanc545 2013-05-22 22:27:48 PDT
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 

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.
Comment 1 User image Loic 2013-05-23 03:17:36 PDT
The document has 18 pages, could you give some page numbers where you see the issue.
Comment 2 User image Maria Grazia Alastra [:mga] 2013-05-23 04:30:28 PDT
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:

- (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)

- (same problem as above)

- (only the superior part of the integral sign is displayed)

- (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:

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.
Comment 3 User image Brendan Dahl [:bdahl] 2013-05-28 13:36:28 PDT
WFM with OSX, looks to be a windows only problem.
Comment 4 User image John Nagle 2013-09-28 15:21:22 PDT
In this file, large sigmas and brackets do not render correctly.
See equation (1) on page 3. 

Fails: Firefox 24, Windows 7 64-bit.
OK: Firefox 22, Ubuntu 12.04LTS, 64-bit.
OK: Sumatra PDF.
Comment 5 User image John Nagle 2013-09-28 15:22:41 PDT
Created attachment 811585 [details]

Bad render of large sigma in PDF document on Firefox 24.0/Win 7/64bit.
Comment 6 User image John Nagle 2013-09-28 15:25:26 PDT
Created attachment 811586 [details]

Comparison render of same PDF with Sumatra PDF 1.5.1.  This renders correctly with a competing non-Adobe PDF viewer.
Comment 7 User image John Nagle 2013-11-01 15:33:20 PDT
Still broken in Firefox 24/Win7/64 bit.
Comment 8 User image [:Aleksej] 2013-11-04 05:55:18 PST
(In reply to John Nagle from comment #4)
> In this file, large sigmas and brackets do not render correctly.

WFM with firefox-24.0.en-US.linux64
Comment 9 User image [:Aleksej] 2013-11-04 05:55:39 PST
(no hardware acceleration)
Comment 10 User image George Panagopoulos 2015-06-08 18:46:21 PDT
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.

Note You need to log in before you can comment on or make changes to this bug.