Open Bug 923757 Opened 11 years ago Updated 2 years ago

MathML gets munged when printing

Categories

(Core :: Printing: Output, defect)

20 Branch
defect

Tracking

()

People

(Reporter: tuanglen, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release)
Build ID: 20130910160258

Steps to reproduce:

RetinaMBP OS 10.8.5: 
1) go to this URL on the MDN website:
https://developer.mozilla.org/en-US/docs/Web/MathML/Examples/Deriving_the_Quadratic_Formula
2) cmd-P (tell Firefox to print the page)
3) Print as PDF (in lower left corner of print dialog, drop down the "PDF" menu, and save as PDF or just tell it to view PDF in Preview--same result either way)


Actual results:

On the PDF page, page 1, look for the first line of red text. It will say, "divide out leading coefficient". Right under that line, there are a pair of open and closing parentheses printed right on top of each other. 


Expected results:

Comparing the PDF to the MDN you can see that those wandering parentheses belong around the (b/2a)^2 term on the line below. Of course, I don't know if this is an issue with Firefox or OS X's PDF rendering, but the combination of Firefox + MathML + print-to-PDF would be a powerful tool for technical documents if it worked.
Attach the printed PDF to the bug, please.
Flags: needinfo?(tuanglen)
No need to print in PDF, Print Preview is enough to make the issue appear.
Flags: needinfo?(tuanglen)
Status: UNCONFIRMED → NEW
Component: Untriaged → Printing: Output
Ever confirmed: true
Product: Firefox → Core
Summary: MathML gets munged when printing to PDF on Mac → MathML gets munged when printing
Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/0e9bc6febd7f
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20121209 Firefox/20.0 ID:20121210013350
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/31b16bc75897
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20121210 Firefox/20.0 ID:20121210013551
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=0e9bc6febd7f&tochange=31b16bc75897

Regressed by:
31b16bc75897	Jonathan Kew — bug 816483 - cache instantiated user fonts and share them across pages that use the same resources. r=roc
OS: Mac OS X → All
Hardware: x86 → All
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: