Last Comment Bug 697053 - Problems printing MathML when @font-face is used
: Problems printing MathML when @font-face is used
Status: RESOLVED WORKSFORME
:
Product: Core
Classification: Components
Component: MathML (show other bugs)
: Trunk
: All All
: P5 normal with 1 vote (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Anthony Jones (:kentuckyfriedtakahe, :k17e)
Mentors:
https://github.com/mathjax/MathJax/is...
Depends on: 468568
Blocks: mathml-in-mathjax
  Show dependency treegraph
 
Reported: 2011-10-25 04:17 PDT by Frédéric Wang (:fredw)
Modified: 2013-01-31 23:54 PST (History)
2 users (show)
See Also:
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

Description 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
Comment 1 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...
Comment 2 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 <mo> operators, which are treated in a specific way.
Comment 3 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 (+, -, &ge; &le;) 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 ]
Comment 4 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 (+, -, &ge; &le;) 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 <mtext> instead of <mo> or if I use character outside the operator dictionary ("a" for example)

I think it's an issue with <mo> operators for which nsMathMLmoFrame::UseMathMLChar returns true i.e. those drawn in nsMathMLChar.
Comment 5 Frédéric Wang (:fredw) 2012-03-15 02:07:20 PDT
This bug may depend on bug 736010.
Comment 6 Frédéric Wang (:fredw) 2012-09-21 03:10:38 PDT
I still see the bug even after bug 468568 is fixed.
Comment 7 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.
Comment 8 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?
Comment 9 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.