From 050564646d81be3840e5d4af18d52f719c007dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Thu, 9 Oct 2014 21:07:14 +0200 Subject: [PATCH] Modify the math font-family for native MathML - add "Cambria" to workaround a bug on Firefox Windows. - remove obsolete local fonts (MathJax and STIXGeneral). Change-Id: I06e757b029b8778b88bc6e75e20929e0c945e364 --- modules/ext.math.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/ext.math.css b/modules/ext.math.css index 72a9a35..d8bffee 100644 --- a/modules/ext.math.css +++ b/modules/ext.math.css @@ -20,8 +20,10 @@ opacity: 0; } m|math { - /* Try OpenType MATH fonts, the WOFF fallback and the old math fonts */ - font-family: Cambria Math, Latin Modern Math, STIX Math, LatinModernMathWOFF, MathJax_Main, STIXGeneral, serif; + /* Try some popular OpenType MATH fonts before the WOFF fallback */ + /* We put Cambria before Cambria Math to workaround a bug on Windows + (see https://bugzilla.mozilla.org/show_bug.cgi?id=598900) */ + font-family: Cambria, Cambria Math, Latin Modern Math, STIX Math, LatinModernMathWOFF, serif; } @font-face {