As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact bugzilla-admin@mozilla.org
Bug 697053 - Problems printing MathML when @font-face is used
 Summary: Problems printing MathML when @font-face is used
 Status: RESOLVED WORKSFORME Core Components MathML (show other bugs) Trunk All All P5 normal with 1 vote (vote) --- Nobody; OK to take it and work on it Anthony Jones (:kentuckyfriedtakahe, :k17e) 468568 mathml-in-mathjax Show dependency tree / graph

Reported: 2011-10-25 04:17 PDT by Frédéric Wang (:fredw)
Modified: 2013-01-31 23:54 PST (History)
2 users (show)
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Attachments
testcase (298 bytes, text/html)
2011-10-25 04:17 PDT, Frédéric Wang (:fredw)
no flags Details

 Frédéric Wang (:fredw) 2011-10-25 04:17:55 PDT Created attachment 569323 [details] testcase If you try to print the testcase, the "+" symbol disappear. See https://github.com/mathjax/MathJax/issues/137 Boris Zbarsky [:bz] (still a bit busy) 2011-10-25 09:00:33 PDT Is this mathml-specific? I seem to recall there being general issues with @font-face and printing... Frédéric Wang (:fredw) 2011-10-25 09:14:16 PDT MathJax devs reported another issue: https://github.com/mathjax/MathJax/issues/172 which corresponds to that Bugzilla entry: https://bugzilla.mozilla.org/show_bug.cgi?id=468568 but web-fonts do not seem to be involved in the present bug. I would say this bug has something to do with the operators, which are treated in a specific way. John P Baker 2011-10-26 05:53:28 PDT I ran out of time yesterday but I was beginning to think there was a connection with characters that were centred (+, -, ≥ ≤) as they were the _single_ characters that I could get to fail. [In particular I was looking at those mentioned at http://mxr.mozilla.org/mozilla-central/source/layout/mathml/nsMathMLmoFrame.cpp#220 ] Frédéric Wang (:fredw) 2011-10-26 09:05:08 PDT (In reply to John P Baker from comment #3) > I ran out of time yesterday but I was beginning to think there was a > connection with characters that were centred (+, -, ≥ ≤) as they were > the _single_ characters that I could get to fail. > > [In particular I was looking at those mentioned at > http://mxr.mozilla.org/mozilla-central/source/layout/mathml/nsMathMLmoFrame. > cpp#220 ] I'm able to reproduce the problem with "[" too. It disappears when I use for example instead of or if I use character outside the operator dictionary ("a" for example) I think it's an issue with operators for which nsMathMLmoFrame::UseMathMLChar returns true i.e. those drawn in nsMathMLChar. Frédéric Wang (:fredw) 2012-03-15 02:07:20 PDT This bug may depend on bug 736010. Frédéric Wang (:fredw) 2012-09-21 03:10:38 PDT I still see the bug even after bug 468568 is fixed. Bill Gianopoulos [:WG9s] 2012-09-21 05:43:23 PDT Oddly, I have 2 Windows 7 64-bit laptops. I see the issue on one and not the other. Trying to figure out what the difference is. Frédéric Wang (:fredw) 2013-01-31 04:48:22 PST I no longer see this bug on Linux, with Firefox 18. Bill, are you able to reproduce the bug on one of your Windows machine? Bill Gianopoulos [:WG9s] 2013-01-31 16:21:22 PST (In reply to Frédéric Wang (:fredw) from comment #8) > I no longer see this bug on Linux, with Firefox 18. Bill, are you able to > reproduce the bug on one of your Windows machine? Printing of the attached testcase works correctly on all of my windows machines using Firefox 18.0.1.

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