W3C home > Mailing lists > Public > www-math@w3.org > September 2015

Important information about the MathML fonts in Gecko 41

From: Frédéric WANG <fred.wang@free.fr>
Date: Wed, 23 Sep 2015 11:19:29 +0200
Message-ID: <56026EA1.7000209@free.fr>
To: Mozilla Math Developers <dev-tech-mathml@lists.mozilla.org>, "www-math@w3.org" <www-math@w3.org>
Dear all,

As previously announced for Gecko 31, we are moving our math font
support towards OpenType fonts with a MATH table. Firefox 41 has been
released this week and I'd like to give important information for our
users. Of course this applies to other products based on Gecko such that
Thunderbird or SeaMonkey.

1) The first good news is that the the OS/2 USE_TYPO_METRICS is now
implemented in the Gecko versions relying on the GDI API, that is old
versions of Windows [1]. AFAIK, Firefox is thus the first browser to
fully support this OpenType feature after Internet Explorer. Also all
OpenType fonts but STIX have now enabled this bit which means that they
can be used without being affected by an "excessive line spacing bug" [2].

2) We have dropped support for "Standard Symbols L" and "MathJax fonts"
[3]. Support for "STIX General" (installed on Mac OSX) and the "Symbol"
font on Windows (XP does not have Cambria Math) has been kept for now.
Of course, we recommend to install OpenType fonts with a MATH table
instead [4].

3) Users willing to use LaTeX's default "Computer Modern" style should
install the latest Latin Modern Math fonts by the GUST e-foundry group [5].

4) Users willing to use the "STIX" style should install Khaled Hosny's
XITS fork [6]. Any version of STIX will provide very good Unicode
coverage for math & tech symbols but the current release has too many
bugs to be usable for math layout. Hopefully these will be fixed in
version 2, currently in development [7].

5) The enhancement request for math fonts on windows.uservoice.com has
already obtained 529 votes! Thank you and please continue to vote and
spread the word [8].

6) Last but not least, the old "font.mathfont-family" property from the
"about:config" menu has finally been removed. This used to provide a way
to configure your preferred fonts for MathML when one is not specified
by the page author. In Gecko 41, it has been replaced with new
properties that I won't mention here, since "about:config" not really
intended for users. Instead, just use the standard font preference menu
to set the "Serif" font for "Mathematics". See the attached screenshot.

Frédéric Wang (for the Mozilla MathML Project)

[1] http://www.microsoft.com/typography/otspec/os2.htm#fss
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=947650
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1174143
[4] https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/Fonts
[5] http://www.gust.org.pl/projects/e-foundry/lm-math
[6] https://github.com/khaledhosny/xits-math
[7] http://www.stixfonts.org/
[8]
https://windows.uservoice.com/forums/265757-windows-feature-suggestions/suggestions/9727281-add-new-math-fonts-latin-modern-math-and-stix-2



mathml-font-menu.png
(image/png attachment: mathml-font-menu.png)

Received on Wednesday, 23 September 2015 09:20:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 23 September 2015 09:20:10 UTC