# [Webkit-unassigned] [Bug 114565] [GTK] MathML unusable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 21 02:00:02 PDT 2014

https://bugs.webkit.org/show_bug.cgi?id=114565

--- Comment #11 from Frédéric Wang (:fredw) <fred.wang at free.fr>  2014-06-21 02:00:22 PST ---
Created an attachment (id=233518)
--> (https://bugs.webkit.org/attachment.cgi?id=233518&action=review)
Screenshot Nightly WebKitGTK+

After bug 133604, "Latin Modern Math" is used as the default font on Linux. I attach an updated screenshot with a trunk build. The reasoning here is that math people are likely to have a TeX distribution installed on their system and so a fortiori the Latin Modern font available, so missing math font for MathML becomes unlikely. This is of course not 100% sure and the result may be very different for each Linux distribution / user. I vaguely heard that the GUST group was working on another MATH font that could be installed by default on Linux. Another option to consider is autoinstallation via PackageKit (bug 22621).

Martin will correct me if I'm wrong, but I think stable WebKitGTK+ releases are each semester, so the recent MathML improvements are only likely to become available in early 2015.

Two more remarks:

* this is not really MathML rendering but MathML rendering "tweaked" by MathJax. In particular, I think the <mo> spacing is incorrect on the screenshot because of MathJax adds more space (https://github.com/mathjax/MathJax/blob/master/unpacked/jax/output/NativeMML/jax.js#L1359).

* Authors of extensions for WebKitGTK+ browsers might consider something like https://addons.mozilla.org/en-US/firefox/addon/mathjax-native-mathml/ (source: https://github.com/fred-wang/Mathzilla/tree/master/mathjax-native-mathml/data) if they want to force the native MathML output and remove some MathJax hacks.

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.