Note: There are a few cases of duplicates in user autocompletion which are being worked on.

Math equations do not display well in pdf.js




PDF Viewer
4 years ago
2 years ago


(Reporter: susanc545, Unassigned)


20 Branch
Windows Vista

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-windows][pdfjs-f-fixed-upstream] [bugday-20131104])


(2 attachments)



4 years ago
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

4 years ago
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:

- (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.
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]

Comment 4

4 years ago
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

4 years ago
Created attachment 811585 [details]

Bad render of large sigma in PDF document on Firefox 24.0/Win 7/64bit.

Comment 6

4 years ago
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.


4 years ago
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-windows] → [pdfjs-c-rendering][pdfjs-d-font-windows][pdfjs-f-fixed-upstream]

Comment 7

4 years ago
Still broken in Firefox 24/Win7/64 bit.

Comment 8

4 years ago
(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

4 years ago
(no hardware acceleration)


4 years ago
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-windows][pdfjs-f-fixed-upstream] → [pdfjs-c-rendering][pdfjs-d-font-windows][pdfjs-f-fixed-upstream] [bugday-20131104]
Last Resolved: 2 years ago
Depends on: 937670
Resolution: --- → FIXED

Comment 10

2 years ago
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.
You need to log in before you can comment on or make changes to this bug.