WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 24230
122526
[Win] MathML Renders Improperly
https://bugs.webkit.org/show_bug.cgi?id=122526
Summary
[Win] MathML Renders Improperly
Brent Fulgham
Reported
2013-10-08 14:57:56 PDT
Viewing
https://eyeasme.com/Joe/MathML/MathML_browser_test.html
shows that Windows is not rendering several MathML tests properly: 1. Invisible multiplication symbols show up as an 'x' in a box, rather than not displaying. 2. Certain greek characters are not rendering; they appear as '?' in a box.
Attachments
Add attachment
proposed patch, testcase, etc.
Frédéric Wang (:fredw)
Comment 1
2013-10-08 23:36:50 PDT
Try installing the MathML fonts (e.g. STIX). They are available on the Mozilla page:
https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/Fonts
For the invisible operators, you'll still see
bug 115786
, though.
Brent Fulgham
Comment 2
2013-10-09 11:58:54 PDT
The STIX fonts are installed, using the MathML Font Installer from the Mozilla site (
https://developer.mozilla.org/@api/deki/files/6388/=MathML-fonts.msi
). I also tried installing them manually, but this made no difference. Interestingly, this Mozilla test page (
https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/Fonts/Test?redirectlocale=en-US&redirectslug=Mozilla_MathML_Project%2FFonts%2FTest
) does not display properly on Mac or Windows, although the "MathML Torture Test" (
https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/MathML_Torture_Test?redirectlocale=en-US&redirectslug=Mozilla_MathML_Project%2FMathML_Torture_Test
) seems to work properly on Mac and partially on Windows. After running the MathML Fonts installer, I no longer see an "X inside a box" glyph for the invisible times. However, the greek characters up port for the "multi scripts & greek alphabet" test on
https://eyeasme.com/Joe/MathML/MathML_browser_test.html
no longer renders at all (showing just 5 empty box glyphs instead of the circle of greek characters surrounding a capital Pi character. Inspecting the elements in the WebInspector shows that the mathml.css styles are being applied, and that WebKit recognizes that it should be using MathJax_Main or STIXGeneral fonts for rendering.
Frédéric Wang (:fredw)
Comment 3
2013-10-09 12:12:46 PDT
(In reply to
comment #2
)
> Interestingly, this Mozilla test page (
https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/Fonts/Test?redirectlocale=en-US&redirectslug=Mozilla_MathML_Project%2FFonts%2FTest
) does not display properly on Mac or Windows,
To draw the grid, this test page uses vertical stretchy U+221A SQUARE ROOT and horizontal stretchy U+23DC TOP PARENTHESIS, the minsize attribute and operator stretching in <mover>. I think only the last feature is supported by WebKit at the moment, so I'm not surprise it does not work. See the related
bug 119038
and
bug 72828
.
> After running the MathML Fonts installer, I no longer see an "X inside a box" glyph for the invisible times. However, the greek characters up port for the "multi scripts & greek alphabet" test on
https://eyeasme.com/Joe/MathML/MathML_browser_test.html
no longer renders at all (showing just 5 empty box glyphs instead of the circle of greek characters surrounding a capital Pi character.
Could you try to check with HTML-only content like <span>π</span>, <span style="font-family: STIXGeneral">π</span>, <span style="font-family: italic;">π</span> etc That might well be a font/text issue unrelated to MathML.
Frédéric Wang (:fredw)
Comment 4
2013-10-09 12:14:55 PDT
(In reply to
comment #3
)
> To draw the grid, this test page uses vertical stretchy U+221A SQUARE ROOT and horizontal stretchy U+23DC TOP PARENTHESIS, the minsize attribute and operator stretching in <mover>. I think only the last feature is supported by WebKit at the moment
Well, actually horizontal stretching is not supported at all.
Frédéric Wang (:fredw)
Comment 5
2013-10-09 12:23:41 PDT
(In reply to
comment #2
)
> After running the MathML Fonts installer, I no longer see an "X inside a box" glyph for the invisible times. However, the greek characters up port for the "multi scripts & greek alphabet" test on
https://eyeasme.com/Joe/MathML/MathML_browser_test.html
no longer renders at all (showing just 5 empty box glyphs instead of the circle of greek characters surrounding a capital Pi character.
OK, I just checked the page and I'm guessing you are talking about the fraktur letters, not the greek ones. The fraktur characters are in Unicode Plane 1, so I suspect it is the old
bug 24230
.
Brent Fulgham
Comment 6
2013-10-09 12:49:25 PDT
(In reply to
comment #3
)
> (In reply to
comment #2
) > Could you try to check with HTML-only content like <span>π</span>, <span style="font-family: STIXGeneral">π</span>, <span style="font-family: italic;">π</span> etc That might well be a font/text issue unrelated to MathML.
You are absolutely right; these glyphs display properly.
Brent Fulgham
Comment 7
2013-10-09 12:53:09 PDT
(In reply to
comment #5
)
> (In reply to
comment #2
)
> OK, I just checked the page and I'm guessing you are talking about the fraktur letters, not the greek ones. The fraktur characters are in Unicode Plane 1, so I suspect it is the old
bug 24230
.
Indeed. My ignorance has been revealed! The fraktur letters were the issue I was trying to describe. Conclusion: 1. My original problem was due to missing fonts. We should probably update DRT/WInLauncher or perhaps update-webkit to check for the presence of these fonts when the MATHML feature is turned on. 2. The second issue I noticed with the fraktur letters is a duplicate of
Bug 24230
. Closing as a duplicate, and opening a new bug for the test configuration checks. *** This bug has been marked as a duplicate of
bug 24230
***
Brent Fulgham
Comment 8
2013-10-09 13:31:29 PDT
See
Bug 122568
for checks to ensure MathML is installed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug