Bug 1174143 - Remove private tables for Standard Symbols L and MathJax fonts. r=karlt

--HG--
extra : rebase_source : d9868dabd15f0b9da9162e0b12e292e2754ab626
This commit is contained in:
Frédéric Wang 2015-06-12 10:43:00 -04:00
Родитель f83bf6c012
Коммит 9eb9060846
6 изменённых файлов: 6 добавлений и 375 удалений

Просмотреть файл

@ -1,178 +0,0 @@
<!-- -*- mode: HTML; tab-width: 2; indent-tabs-mode: nil; -*- -->
<!-- vim: set tabstop=2 expandtab shiftwidth=2 textwidth=80: -->
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE html>
<html>
<head>
<title>MathJax fonts</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
jax: ["output/HTML-CSS"],
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/unpacked/MathJax.js">
</script>
<script type="text/javascript">
var fontList = [
"MathJax_Main",
"MathJax_Size1",
"MathJax_Size2",
"MathJax_Size3",
"MathJax_Size4",
"MathJax_AMS",
"MathJax_Main-bold"
];
var noChar = codePoint();
function codePoint(aValue, aFont)
{
var v = 0xFFFD;
if (aValue) {
v = aValue;
}
var f = "";
if (aFont) {
var i = fontList.indexOf(aFont);
if (i > 0) {
f = "@" + i;
}
}
var hexacode = Number(v).toString(16).toUpperCase();
while (hexacode.length < 4) {
hexacode = "0" + hexacode;
}
return "\\u" + hexacode + f;
}
function codePoint2(aList)
{
if (aList) {
return codePoint(aList[0], aList[1]);
} else {
return noChar;
}
}
function isSupported(aStretch)
{
for (var x in aStretch) {
var part = aStretch[x];
if (part[0] instanceof Array) {
// Composite char
return false;
} else if (part.length > 2) {
// Part has scale factor
return false;
}
}
return true;
}
MathJax.Hub.Queue(
["Require", MathJax.Ajax, "[MathJax]/jax/element/mml/jax.js"],
["Require", MathJax.Ajax, "[MathJax]/jax/output/HTML-CSS/jax.js"],
["Require", MathJax.Ajax, "[MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js"],
function () {
var t = document.getElementById("output");
t.value = "";
var fontData = MathJax.OutputJax["HTML-CSS"].FONTDATA;
t.value += "# Content below is generated from MathJaxFonts.html. Do not edit.\n";
t.value += "\n";
// Generate the list of external fonts
for (var i = 1; i < fontList.length; i++) {
t.value += "external." + i + " = " + fontList[i] + "\n";
}
t.value += "\n";
// Generate stretchy table for delimiters
var delimiters = fontData.DELIMITERS;
for (var u in delimiters) {
var v = delimiters[u];
if (v.load) {
// These characters are already handled when we load fontdata-extra.js
continue;
}
if (v.alias) {
if (delimiters.hasOwnProperty(v.alias)) {
// use data from the char pointed by this alias
v = delimiters[v.alias];
} else {
// It is an alias to a non-stretchy char. Ignore it.
continue;
}
}
if (v.stretch && !isSupported(v.stretch)) {
// This construction is not supported.
t.value += "# " + codePoint(u) + " = [not supported]\n";
continue;
}
t.value += codePoint(u);
t.value += " = ";
if (v.stretch) {
if (v.dir == "V") {
t.value += codePoint2(v.stretch.top);
t.value += codePoint2(v.stretch.mid);
t.value += codePoint2(v.stretch.bot);
t.value += codePoint2(v.stretch.ext);
} else {
t.value += codePoint2(v.stretch.left);
t.value += codePoint2(v.stretch.mid);
t.value += codePoint2(v.stretch.right);
t.value += codePoint2(v.stretch.rep);
}
} else {
t.value += noChar + noChar + noChar + noChar;
}
for (var i in v.HW) {
t.value += codePoint(u, v.HW[i][1]);
}
t.value += "\n";
}
// Generate table for large operators
var fonts1 = fontData.FONTS[fontList[1]];
var fonts2 = fontData.FONTS[fontList[2]];
for (var u in fonts1) {
if (delimiters.hasOwnProperty(u) || // already listed above
u == "version" || u == "available" ||
u == "directory" || u == "family" || u == "testString") {
// Ignore these properties
continue;
}
t.value += codePoint(u);
t.value += " = ";
t.value += noChar + noChar + noChar + noChar;
t.value += codePoint(u, fontList[1]);
if (fonts2.hasOwnProperty(u)) {
t.value += codePoint(u, fontList[2]);
}
t.value += "\n";
}
});
</script>
</head>
<body>
<textarea id="output" cols="80" rows="20"></textarea>
</body>
</html>

Просмотреть файл

@ -1,144 +0,0 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Content below is generated from MathJaxFonts.html. Do not edit.
external.1 = MathJax_Size1
external.2 = MathJax_Size2
external.3 = MathJax_Size3
external.4 = MathJax_Size4
external.5 = MathJax_AMS
# external.6 = MathJax_Main-bold
\u0028 = \u239B@4\uFFFD\u239D@4\u239C@4\u0028\u0028@1\u0028@2\u0028@3\u0028@4
\u0029 = \u239E@4\uFFFD\u23A0@4\u239F@4\u0029\u0029@1\u0029@2\u0029@3\u0029@4
\u002F = \uFFFD\uFFFD\uFFFD\uFFFD\u002F\u002F@1\u002F@2\u002F@3\u002F@4
\u005B = \u23A1@4\uFFFD\u23A3@4\u23A2@4\u005B\u005B@1\u005B@2\u005B@3\u005B@4
\u005C = \uFFFD\uFFFD\uFFFD\uFFFD\u005C\u005C@1\u005C@2\u005C@3\u005C@4
\u005D = \u23A4@4\uFFFD\u23A6@4\u23A5@4\u005D\u005D@1\u005D@2\u005D@3\u005D@4
\u007B = \u23A7@4\u23A8@4\u23A9@4\u23AA@4\u007B\u007B@1\u007B@2\u007B@3\u007B@4
\u007C = \uFFFD\uFFFD\uFFFD\u2223\u007C
\u007D = \u23AB@4\u23AC@4\u23AD@4\u23AA@4\u007D\u007D@1\u007D@2\u007D@3\u007D@4
\u00AF = \uFFFD\uFFFD\uFFFD\u00AF\u00AF
\u02C6 = \uFFFD\uFFFD\uFFFD\uFFFD\u02C6\u02C6@1\u02C6@2\u02C6@3\u02C6@4
\u02DC = \uFFFD\uFFFD\uFFFD\uFFFD\u02DC\u02DC@1\u02DC@2\u02DC@3\u02DC@4
\u2016 = \uFFFD\uFFFD\uFFFD\u2225\u2016@1\u2016
\u2190 = \u2190\uFFFD\uFFFD\u2212\u2190
\u2191 = \u2191@1\uFFFD\uFFFD\u23D0@1\u2191
\u2192 = \uFFFD\uFFFD\u2192\u2212\u2192
\u2193 = \uFFFD\uFFFD\u2193@1\u23D0@1\u2193
\u2194 = \u2190\uFFFD\u2192\u2212\u2194
\u2195 = \u2191@1\uFFFD\u2193@1\u23D0@1\u2195
\u21D0 = \u21D0\uFFFD\uFFFD\u003D\u21D0
\u21D1 = \u21D1@1\uFFFD\uFFFD\u2016@1\u21D1
\u21D2 = \uFFFD\uFFFD\u21D2\u003D\u21D2
\u21D3 = \uFFFD\uFFFD\u21D3@1\u2016@1\u21D3
\u21D4 = \u21D0\uFFFD\u21D2\u003D\u21D4
\u21D5 = \u21D1@1\uFFFD\u21D3@1\u2016@1\u21D5
\u2212 = \uFFFD\uFFFD\uFFFD\u2212\u2212
\u221A = \uE001@4\uFFFD\u23B7@4\uE000@4\u221A\u221A@1\u221A@2\u221A@3\u221A@4
\u2223 = \uFFFD\uFFFD\uFFFD\u2223\u2223
\u2225 = \uFFFD\uFFFD\uFFFD\u2225\u2225
\u2308 = \u23A1@4\uFFFD\uFFFD\u23A2@4\u2308\u2308@1\u2308@2\u2308@3\u2308@4
\u2309 = \u23A4@4\uFFFD\uFFFD\u23A5@4\u2309\u2309@1\u2309@2\u2309@3\u2309@4
\u230A = \uFFFD\uFFFD\u23A3@4\u23A2@4\u230A\u230A@1\u230A@2\u230A@3\u230A@4
\u230B = \uFFFD\uFFFD\u23A6@4\u23A5@4\u230B\u230B@1\u230B@2\u230B@3\u230B@4
\u23AA = \u23AA@4\uFFFD\u23AA@4\u23AA@4\u23AA@4
\u23B0 = \u23A7@4\uFFFD\u23AD@4\u23AA@4\u23B0
\u23B1 = \u23AB@4\uFFFD\u23A9@4\u23AA@4\u23B1
\u23D0 = \uFFFD\uFFFD\uFFFD\u2223\u23D0@1\u23D0
# \u23DE = [not supported]
# \u23DF = [not supported]
\u27E8 = \uFFFD\uFFFD\uFFFD\uFFFD\u27E8\u27E8@1\u27E8@2\u27E8@3\u27E8@4
\u27E9 = \uFFFD\uFFFD\uFFFD\uFFFD\u27E9\u27E9@1\u27E9@2\u27E9@3\u27E9@4
\u27EE = \u23A7@4\uFFFD\u23A9@4\u23AA@4\u27EE
\u27EF = \u23AB@4\uFFFD\u23AD@4\u23AA@4\u27EF
\u002D = \uFFFD\uFFFD\uFFFD\u2212\u002D
\u005E = \uFFFD\uFFFD\uFFFD\uFFFD\u005E\u005E@1\u005E@2\u005E@3\u005E@4
\u005F = \uFFFD\uFFFD\uFFFD\u2212\u005F
\u007E = \uFFFD\uFFFD\uFFFD\uFFFD\u007E\u007E@1\u007E@2\u007E@3\u007E@4
\u02C9 = \uFFFD\uFFFD\uFFFD\u00AF\u02C9
\u0302 = \uFFFD\uFFFD\uFFFD\uFFFD\u0302\u0302@1\u0302@2\u0302@3\u0302@4
\u0303 = \uFFFD\uFFFD\uFFFD\uFFFD\u0303\u0303@1\u0303@2\u0303@3\u0303@4
\u0332 = \uFFFD\uFFFD\uFFFD\u2212\u0332
\u2015 = \uFFFD\uFFFD\uFFFD\u2212\u2015
\u2017 = \uFFFD\uFFFD\uFFFD\u2212\u2017
\u203E = \uFFFD\uFFFD\uFFFD\u00AF\u203E
\u2215 = \uFFFD\uFFFD\uFFFD\uFFFD\u2215\u2215@1\u2215@2\u2215@3\u2215@4
\u2329 = \uFFFD\uFFFD\uFFFD\uFFFD\u2329\u2329@1\u2329@2\u2329@3\u2329@4
\u232A = \uFFFD\uFFFD\uFFFD\uFFFD\u232A\u232A@1\u232A@2\u232A@3\u232A@4
\u23AF = \uFFFD\uFFFD\uFFFD\u2212\u23AF
\u2500 = \uFFFD\uFFFD\uFFFD\u2212\u2500
\u2758 = \uFFFD\uFFFD\uFFFD\u2223\u2758
\u3008 = \uFFFD\uFFFD\uFFFD\uFFFD\u3008\u3008@1\u3008@2\u3008@3\u3008@4
\u3009 = \uFFFD\uFFFD\uFFFD\uFFFD\u3009\u3009@1\u3009@2\u3009@3\u3009@4
# \uFE37 = [not supported]
# \uFE38 = [not supported]
\u003D = \uFFFD\uFFFD\uFFFD\u003D\u003D
\u219E = \u219E@5\uFFFD\uFFFD\u2212\u219E@5
\u21A0 = \uFFFD\uFFFD\u21A0@5\u2212\u21A0@5
# \u21A4 = [not supported]
# \u21A5 = [not supported]
# \u21A6 = [not supported]
# \u21A7 = [not supported]
# \u21B0 = [not supported]
# \u21B1 = [not supported]
\u21BC = \u21BC\uFFFD\uFFFD\u2212\u21BC
\u21BD = \u21BD\uFFFD\uFFFD\u2212\u21BD
# \u21BE = [not supported]
# \u21BF = [not supported]
\u21C0 = \uFFFD\uFFFD\u21C0\u2212\u21C0
\u21C1 = \uFFFD\uFFFD\u21C1\u2212\u21C1
# \u21C2 = [not supported]
# \u21C3 = [not supported]
\u21DA = \u21DA@5\uFFFD\uFFFD\u2261\u21DA@5
\u21DB = \uFFFD\uFFFD\u21DB@5\u2261\u21DB@5
# \u23B4 = [not supported]
# \u23B5 = [not supported]
\u23DC = \uE150@4\uFFFD\uE151@4\uE154@4\u23DC@5\u23DC
\u23DD = \uE152@4\uFFFD\uE153@4\uE154@4\u23DD@5\u23DD
# \u23E0 = [not supported]
# \u23E1 = [not supported]
# \u2906 = [not supported]
# \u2907 = [not supported]
\u294E = \u21BC\uFFFD\u21C0\u2212
# \u294F = [not supported]
\u2950 = \u21BD\uFFFD\u21C1\u2212
# \u2951 = [not supported]
# \u295A = [not supported]
# \u295B = [not supported]
# \u295C = [not supported]
# \u295D = [not supported]
# \u295E = [not supported]
# \u295F = [not supported]
# \u2960 = [not supported]
# \u2961 = [not supported]
\u27F5 = \u2190\uFFFD\uFFFD\u2212\u27F5
\u27F6 = \uFFFD\uFFFD\u2192\u2212\u27F6
\u27F7 = \u2190\uFFFD\u2192\u2212\u27F7
\u27F8 = \u21D0\uFFFD\uFFFD\u003D\u27F8
\u27F9 = \uFFFD\uFFFD\u21D2\u003D\u27F9
\u27FA = \u21D0\uFFFD\u21D2\u003D\u27FA
# \u27FB = [not supported]
# \u27FC = [not supported]
# \u27FD = [not supported]
# \u27FE = [not supported]
\u0020 = \uFFFD\uFFFD\uFFFD\uFFFD\u0020@1\u0020@2
\u00A0 = \uFFFD\uFFFD\uFFFD\uFFFD\u00A0@1\u00A0@2
\u220F = \uFFFD\uFFFD\uFFFD\uFFFD\u220F@1\u220F@2
\u2210 = \uFFFD\uFFFD\uFFFD\uFFFD\u2210@1\u2210@2
\u2211 = \uFFFD\uFFFD\uFFFD\uFFFD\u2211@1\u2211@2
\u222B = \uFFFD\uFFFD\uFFFD\uFFFD\u222B@1\u222B@2
\u222C = \uFFFD\uFFFD\uFFFD\uFFFD\u222C@1\u222C@2
\u222D = \uFFFD\uFFFD\uFFFD\uFFFD\u222D@1\u222D@2
\u222E = \uFFFD\uFFFD\uFFFD\uFFFD\u222E@1\u222E@2
\u22C0 = \uFFFD\uFFFD\uFFFD\uFFFD\u22C0@1\u22C0@2
\u22C1 = \uFFFD\uFFFD\uFFFD\uFFFD\u22C1@1\u22C1@2
\u22C2 = \uFFFD\uFFFD\uFFFD\uFFFD\u22C2@1\u22C2@2
\u22C3 = \uFFFD\uFFFD\uFFFD\uFFFD\u22C3@1\u22C3@2
\u2A00 = \uFFFD\uFFFD\uFFFD\uFFFD\u2A00@1\u2A00@2
\u2A01 = \uFFFD\uFFFD\uFFFD\uFFFD\u2A01@1\u2A01@2
\u2A02 = \uFFFD\uFFFD\uFFFD\uFFFD\u2A02@1\u2A02@2
\u2A04 = \uFFFD\uFFFD\uFFFD\uFFFD\u2A04@1\u2A04@2
\u2A06 = \uFFFD\uFFFD\uFFFD\uFFFD\u2A06@1\u2A06@2

Просмотреть файл

@ -1,43 +0,0 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# LOCALIZATION NOTE: FILE
# Do not translate anything in this file
# This file contains the list of all stretchy MathML chars that
# can be rendered with Standard Symbols L.
# [ T/L | M | B/R | G | size0 ... size{N-1} ]
\u0028 = \uF8EB\uFFFD\uF8ED\uF8EC\u0028 # (
\u0029 = \uF8F6\uFFFD\uF8F8\uF8F7\u0029 # )
\u005B = \uF8EE\uFFFD\uF8F0\uF8EF\u005B # [
\u005D = \uF8F9\uFFFD\uF8FB\uF8FA\u005D # ]
\u007B = \uF8F1\uF8F2\uF8F3\uF8F4\u007B # {
\u007C = \uFFFD\uFFFD\uFFFD\u007C\u007C # |
\u007D = \uF8FC\uF8FD\uF8FE\uF8F4\u007D # }
\u00AF = \uFFFD\uFFFD\uFFFD\uF8E5\u00AF # ad-hoc: overbar is stretched with the radical extender
\u0332 = \uFFFD\uFFFD\uFFFD\u005F\u0332 # ad-hock: UnderBar (0x0332) is stretched with underscore
\u2190 = \u2190\uFFFD\uFFFD\uF8E7\u2190 # LeftArrow, larr, leftarrow
\u2191 = \u2191\uFFFD\uFFFD\uF8E6\u2191 # UpArrow, uarr, uparrow
\u2192 = \uFFFD\uFFFD\u2192\uF8E7\u2192 # RightArrow, rarr, rightarrow
\u2193 = \uFFFD\uFFFD\u2193\uF8E6\u2193 # DownArrow, darr, downarrow
\u2194 = \u2190\uFFFD\u2192\uF8E7\u2194 # LeftRightArrow, harr, leftrightarrow
\u2195 = \u2191\uFFFD\u2193\uF8E6\u2195 # UpDownArrow, updownarrow, varr
\u222B = \u2320\uFFFD\u2321\uF8F5\u222B # Integral, int
# If there are problems with the font-supplied glue use a rule:
# \u222B = \u2320\uFFFD\u2321\uFFFD\u222B # Integral, int
# Using parts of [ and ]
\u2308 = \uF8EE\uFFFD\uFFFD\uF8EF\u2308 # LeftCeiling, lceil
\u2309 = \uF8F9\uFFFD\uFFFD\uF8FA\u2309 # RightCeiling, rceil
\u230A = \uFFFD\uFFFD\uF8F0\uF8EF\u230A # LeftFloor, lfloor
\u230B = \uFFFD\uFFFD\uF8FB\uF8FA\u230B # RightFloor, rfloor
# same as normal arrows
\u27F5 = \u2190\uFFFD\uFFFD\uF8E7\u27F5 # LongLeftArrow
\u27F6 = \uFFFD\uFFFD\u2192\uF8E7\u27F6 # LongRightArrow
\u27F7 = \u2190\uFFFD\u2192\uF8E7\u27F7 # LongLeftRightArrow

Просмотреть файл

@ -55,8 +55,6 @@ JAR_MANIFESTS += ['jar.mn']
RESOURCE_FILES.fonts += [
'mathfont.properties',
'mathfontMathJax_Main.properties',
'mathfontStandardSymbolsL.properties',
'mathfontSTIXGeneral.properties',
'mathfontUnicode.properties',
]

Просмотреть файл

@ -734,9 +734,7 @@ InitGlobals(nsPresContext* aPresContext)
// observer and will be deleted at shutdown. We now add some private
// per font-family tables for stretchy operators, in order of preference.
// Do not include the Unicode table in this list.
if (!glyphTableList->AddGlyphTable(NS_LITERAL_STRING("MathJax_Main")) ||
!glyphTableList->AddGlyphTable(NS_LITERAL_STRING("STIXGeneral")) ||
!glyphTableList->AddGlyphTable(NS_LITERAL_STRING("Standard Symbols L"))
if (!glyphTableList->AddGlyphTable(NS_LITERAL_STRING("STIXGeneral"))
#ifdef XP_WIN
|| !glyphTableList->AddGlyphTable(NS_LITERAL_STRING("Symbol"))
#endif

Просмотреть файл

@ -1860,7 +1860,7 @@ pref("intl.hyphenation-alias.nb-*", "nb");
pref("intl.hyphenation-alias.nn-*", "nn");
pref("font.name.serif.x-math", "Latin Modern Math");
pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, MathJax_Main, STIXGeneral, DejaVu Serif, DejaVu Sans, Standard Symbols L, serif");
pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, STIXGeneral, DejaVu Serif, DejaVu Sans, serif");
pref("font.name.sans-serif.x-math", "sans-serif");
pref("font.name.monospace.x-math", "monospace");
@ -2976,7 +2976,7 @@ pref("font.minimum-size.th", 10);
pref("font.default.x-devanagari", "sans-serif");
pref("font.name.serif.x-math", "Latin Modern Math");
// We have special support for Monotype Symbol on Windows.
pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, MathJax_Main, STIXGeneral, DejaVu Serif, DejaVu Sans, Symbol, Times New Roman");
pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, STIXGeneral, DejaVu Serif, DejaVu Sans, Symbol, Times New Roman");
pref("font.name.sans-serif.x-math", "Arial");
pref("font.name.monospace.x-math", "Courier New");
pref("font.name.cursive.x-math", "Comic Sans MS");
@ -3407,7 +3407,7 @@ pref("font.size.variable.zh-TW", 15);
pref("font.name.serif.x-math", "Latin Modern Math");
// Apple's Symbol is Unicode so use it
pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, MathJax_Main, STIXGeneral, DejaVu Serif, DejaVu Sans, Symbol, Times");
pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, STIXGeneral, DejaVu Serif, DejaVu Sans, Symbol, Times");
pref("font.name.sans-serif.x-math", "Helvetica");
pref("font.name.monospace.x-math", "Courier");
pref("font.name.cursive.x-math", "Apple Chancery");
@ -3833,7 +3833,7 @@ pref("font.name.monospace.zh-TW", "Fira Mono");
pref("font.name-list.sans-serif.zh-TW", "Fira Sans,Droid Sans Fallback");
pref("font.name.serif.x-math", "Latin Modern Math");
pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, MathJax_Main, STIXGeneral, DejaVu Serif, DejaVu Sans, Charis SIL Compact");
pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, STIXGeneral, DejaVu Serif, DejaVu Sans, Charis SIL Compact");
pref("font.name.sans-serif.x-math", "Fira Sans");
pref("font.name.monospace.x-math", "Fira Mono");
@ -3911,7 +3911,7 @@ pref("font.name-list.sans-serif.zh-TW", "Roboto, Droid Sans, Noto Sans TC, Noto
pref("font.name-list.monospace.zh-TW", "Droid Sans Fallback");
pref("font.name.serif.x-math", "Latin Modern Math");
pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, MathJax_Main, STIXGeneral, DejaVu Serif, DejaVu Sans, Charis SIL Compact");
pref("font.name-list.serif.x-math", "Latin Modern Math, XITS Math, Cambria Math, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, STIXGeneral, DejaVu Serif, DejaVu Sans, Charis SIL Compact");
pref("font.name.sans-serif.x-math", "Clear Sans");
pref("font.name.monospace.x-math", "Droid Sans Mono");