# HG changeset patch # User Frédéric Wang # Parent 823dc40ab5fe45344a611ff454212f8cf56e1435 Bug 1336058 - Remove support for the deprecated STIXGeneral set. r=karl diff --git a/layout/mathml/mathfontSTIXGeneral.properties b/layout/mathml/mathfontSTIXGeneral.properties deleted file mode 100644 --- a/layout/mathml/mathfontSTIXGeneral.properties +++ /dev/null @@ -1,128 +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 some stretchy MathML chars that can be -# rendered with the STIXGeneral set. - -external.1 = STIXSizeOneSym -external.2 = STIXSizeTwoSym -external.3 = STIXSizeThreeSym -external.4 = STIXSizeFourSym -external.5 = STIXSizeFiveSym -external.6 = STIXIntegralsD -external.7 = STIXNonUnicode - -############ -# 1) Constructions from mathfontSTIXSizeOneSym.properties (bug 1007093) # - -# [ T/L | M | B/R | G | size0 ... size{N-1} ] -\u0028 = \u239B@1\uFFFD\u239D@1\u239C@1\uFFFD(@1(@2(@3(@4 # ( -\u0029 = \u239E@1\uFFFD\u23A0@1\u239F@1\uFFFD)@1)@2)@3)@4 # ) -\u005B = \u23A1@1\uFFFD\u23A3@1\u23A2@1\u005B@1[@1[@2[@3[@4 # [ -\u005D = \u23A4@1\uFFFD\u23A6@1\u23A5@1\u005D@1]@1]@2]@3]@4 # ] -\u007B = \u23A7@1\u23A8@1\u23A9@1\u23AA@1\u007B@1{@1{@2{@3{@4 # { -\u007D = \u23AB@1\u23AC@1\u23AD@1\u23AA@1\u007D@1}@1}@2}@3}@4 # } - -# N-ARY operators -\u2140 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2140@1 # DOUBLE-STRUCK N-ARY SUMMATION -\u220F = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u220F@1 # N-ARY PRODUCT -\u2210 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2210@1 # N-ARY COPRODUCT -\u2211 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2211@1 # N-ARY SUMMATION -\u22C0 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u22C0@1 # N-ARY LOGICAL AND -\u22C1 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u22C1@1 # N-ARY LOGICAL OR -\u22C2 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u22C2@1 # N-ARY INTERSECTION -\u22C3 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u22C3@1 # N-ARY UNION -\u2A00 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A00@1 # N-ARY CIRCLED DOT OPERATOR -\u2A01 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A01@1 # N-ARY CIRCLED PLUS OPERATOR -\u2A02 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A02@1 # N-ARY CIRCLED TIMES OPERATOR -\u2A03 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A03@1 # N-ARY UNION OPERATOR WITH DOT -\u2A04 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A04@1 # N-ARY UNION OPERATOR WITH PLUS -\u2A05 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A05@1 # N-ARY SQUARE INTERSECTION OPERATOR -\u2A06 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A06@1 # N-ARY SQUARE UNION OPERATOR -\u2A09 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A09@1 # N-ARY TIMES OPERATOR -\u2AFF = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2AFF@1 # N-ARY WHITE VERTICAL BAR - -# E000 stix-radical symbol vertical extender -# E001 stix-radical symbol top corner -\u221A = \uE001@7\uFFFD\u221A@4\uE000@7\uFFFD\u221A@1\u221A@2\u221A@3 # Sqrt, radic - -# Integrals -\u222B = \u2320@1\uFFFD\u2321@1\u23AE@1\uFFFD@1\u222B@6 -\u222C = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u222C@6 -\u222D = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u222D@6 -\u222E = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u222E@6 -\u222F = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u222F@6 -\u2230 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2230@6 -\u2231 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2231@6 -\u2232 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2232@6 -\u2233 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2233@6 -\u2A0B = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A0B@6 -\u2A0C = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A0C@6 -\u2A0D = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A0D@6 -\u2A0E = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A0E@6 -\u2A0F = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A0F@6 -\u2A10 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A10@6 -\u2A11 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A11@6 -\u2A12 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A12@6 -\u2A13 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A13@6 -\u2A14 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A14@6 -\u2A15 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A15@6 -\u2A16 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A16@6 -\u2A17 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A17@6 -\u2A18 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A18@6 -\u2A19 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A19@6 -\u2A1A = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A1A@6 -\u2A1B = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A1B@6 -\u2A1C = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2A1C@6 - -\u27E8 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u27E8@1\u27E8@2\u27E8@3\u27E8@4 # LeftAngleBracket -\u27E9 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u27E9@1\u27E9@2\u27E9@3\u27E9@4 # RightAngleBracket - -\u23DE = \uE13B@7\uE140@7\uE13C@7\uE14A@7\uFFFD\u23DE@1\u23DE@2\u23DE@3\u23DE@4\u23DE@5 # ⏞ (Unicode) -\uFE37 = \uE13B@7\uE140@7\uE13C@7\uE14A@7\uFFFD\u23DE@1\u23DE@2\u23DE@3\u23DE@4\u23DE@5 # ⏞ (MathML 2.0) -\u23B4 = \uE146@7\uFFFD\uE147@7\uE14A@7\uFFFD\u23B4@1\u23B4@2\u23B4@3\u23B4@4\u23B4@5 # ⎴ -\u23DC = \uE142@7\uFFFD\uE143@7\uE14A@7\uFFFD\u23DC@1\u23DC@2\u23DC@3\u23DC@4\u23DC@5 # ⏜ (Unicode) -\uFE35 = \uE142@7\uFFFD\uE143@7\uE14A@7\uFFFD\u23DC@1\u23DC@2\u23DC@3\u23DC@4\u23DC@5 # ⏜ (MathML 2.0) -\u23DF = \uE13D@7\uE141@7\uE13E@7\uE13F@7\uFFFD\u23DF@1\u23DF@2\u23DF@3\u23DF@4\u23DF@5 # ⏟ (Unicode) -\uFE38 = \uE13D@7\uE141@7\uE13E@7\uE13F@7\uFFFD\u23DF@1\u23DF@2\u23DF@3\u23DF@4\u23DF@5 # ⏟ (MathML 2.0) -\u23B5 = \uE148@7\uFFFD\uE149@7\uE14B@7\uFFFD\u23B5@1\u23B5@2\u23B5@3\u23B5@4\u23B5@5 # ⎵ -\u23DD = \uE144@7\uFFFD\uE145@7\uE14B@7\uFFFD\u23DD@1\u23DD@2\u23DD@3\u23DD@4\u23DD@5 # ⏝ (Unicode) -\uFE36 = \uE144@7\uFFFD\uE145@7\uE14B@7\uFFFD\u23DD@1\u23DD@2\u23DD@3\u23DD@4\u23DD@5 # ⏝ (MathML 2.0) - -\u005E = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0302@1\u0302@2\u0302@3\u0302@4\u0302@5 # circumflex accent, COMBINING CIRCUMFLEX ACCENT -\u02C6 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0302@1\u0302@2\u0302@3\u0302@4\u0302@5 # modifier letter circumflex accent, COMBINING CIRCUMFLEX ACCENT -\u007E = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0303@1\u0303@2\u0303@3\u0303@4\u0303@5 # ~ tilde, COMBINING TILDE -\u02DC = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0303@1\u0303@2\u0303@3\u0303@4\u0303@5 # small tilde, COMBINING TILDE -\u02C7 = \uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u030C@1\u030C@2\u030C@3\u030C@4\u030C@5 # caron, COMBINING CARON - -############ -# 2) Constructions from mathfontSTIXNonUnicode.properties (bug 1007093) # - -# [ T/L | M | B/R | G | size0 ... size{N-1} ] -# E0B4 stix-arrow hookleft -# E0B5 stix-arrow hookright -\u21A9 = \u2190\uFFFD\uE0B5@7\u23AF # hookleftarrow, larrhk -\u21AA = \uE0B4@7\uFFFD\u2192\u23AF # hookrightarrow, rarrhk - -# 0E10E stix-stix-extender for vertical double arrow -# 0E10F stix-extender for horizontal double arrow -\u21D0 = \u21D0\uFFFD\uFFFD\uE10F@7\uFFFD\u27F8 # DoubleLeftArrow, Leftarrow, lArr -\u21D1 = \u21D1\uFFFD\uFFFD\uE10E@7 # DoubleUpArrow, Uparrow, uArr -\u21D2 = \uFFFD\uFFFD\u21D2\uE10F@7\uFFFD\u27F9 # DoubleRightArrow, Implies, Rightarrow, rArr -\u21D3 = \uFFFD\uFFFD\u21D3\uE10E@7 # DoubleDownArrow, Downarrow, dArr -\u21D4 = \u21D0\uFFFD\u21D2\uE10F@7\uFFFD\u27FA # DoubleLeftRightArrow, Leftrightarrow, hArr, iff -\u21D5 = \u21D1\uFFFD\u21D3\uE10E@7 # DoubleUpDownArrow, Updownarrow, vArr - -# STIXGeneral U+22A2/U+22A3 RIGHT/LEFT TACK are different heights to U+23AF. -# Could use LONG RIGHT/LEFT TACK instead, but STIXNonUnicode provides -# E0B6 stix-maps-to-relation tail -\u21A4 = \u2190\uFFFD\uE0B6@7\u23AF\uFFFD\u27FB # LeftTeeArrow, mapstoleft -\u21A6 = \uE0B6@7\uFFFD\u2192\u23AF\uFFFD\u27FC # RightTeeArrow, map, mapsto -\u295A = \u21BC\uFFFD\uE0B6@7\u23AF # LeftTeeVector -\u295B = \uE0B6@7\uFFFD\u21C0\u23AF # RIGHTWARDS HARPOON WITH BARB UP FROM BAR, RightTeeVector -\u295E = \u21BD\uFFFD\uE0B6@7\u23AF # DownLeftTeeVector -\u295F = \uE0B6@7\uFFFD\u21C1\u23AF # RIGHTWARDS HARPOON WITH BARB DOWN FROM BAR, DownRightTeeVector diff --git a/layout/mathml/moz.build b/layout/mathml/moz.build --- a/layout/mathml/moz.build +++ b/layout/mathml/moz.build @@ -55,14 +55,13 @@ LOCAL_INCLUDES += [ '/dom/base', '/dom/mathml', ] JAR_MANIFESTS += ['jar.mn'] RESOURCE_FILES.fonts += [ 'mathfont.properties', - 'mathfontSTIXGeneral.properties', 'mathfontUnicode.properties', ] if CONFIG['GNU_CXX']: CXXFLAGS += ['-Wno-error=shadow'] diff --git a/layout/mathml/nsMathMLChar.cpp b/layout/mathml/nsMathMLChar.cpp --- a/layout/mathml/nsMathMLChar.cpp +++ b/layout/mathml/nsMathMLChar.cpp @@ -727,22 +727,17 @@ InitCharGlobals() RefPtr glyphTableList = new nsGlyphTableList(); if (glyphTableList) { rv = glyphTableList->Initialize(); } if (NS_FAILED(rv)) { return rv; } // The gGlyphTableList has been successfully registered as a shutdown - // 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("STIXGeneral"))) { - rv = NS_ERROR_OUT_OF_MEMORY; - } + // observer and will be deleted at shutdown. glyphTableList.forget(&gGlyphTableList); return rv; } // ----------------------------------------------------------------------------- // And now the implementation of nsMathMLChar diff --git a/layout/reftests/mathml/reftest.list b/layout/reftests/mathml/reftest.list --- a/layout/reftests/mathml/reftest.list +++ b/layout/reftests/mathml/reftest.list @@ -128,17 +128,17 @@ fails-if(gtkWidget) random-if(winWidget) == mathbackground-4.xml mathbackground-4-ref.xml == mstyle-1.xhtml mstyle-1-ref.xhtml == mstyle-2.xhtml mstyle-2-ref.xhtml == mstyle-3.xhtml mstyle-3-ref.xhtml == mstyle-4.xhtml mstyle-4-ref.xhtml == mstyle-5.xhtml mstyle-5-ref.xhtml # Bug 787215 == scale-stretchy-1.xhtml scale-stretchy-1-ref.xhtml != scale-stretchy-2.xhtml scale-stretchy-2-ref.xhtml -fails-if(skiaContent&&OSX>=1010) == scale-stretchy-3.xhtml scale-stretchy-3-ref.xhtml +== scale-stretchy-3.xhtml scale-stretchy-3-ref.xhtml != scale-stretchy-4.xhtml scale-stretchy-4-ref.xhtml != scale-stretchy-5.xhtml scale-stretchy-5-ref.xhtml != stretchy-1.html stretchy-1-ref.html == mspace-1.html mspace-1-ref.html == mpadded-1.html mpadded-1-ref.html == mpadded-2.html mpadded-2-ref.html == mpadded-3.html mpadded-3-ref.html == mpadded-4.html mpadded-4-ref.html diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -2116,17 +2116,17 @@ pref("intl.hyphenation-alias.bs-*", "sh" // Norwegian has two forms, Bokmål and Nynorsk, with "no" as a macrolanguage encompassing both. // For "no", we'll alias to "nb" (Bokmål) as that is the more widely used written form. pref("intl.hyphenation-alias.no", "nb"); pref("intl.hyphenation-alias.no-*", "nb"); 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, STIX Two Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, 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-list.serif.x-math", "Latin Modern Math, STIX Two Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, DejaVu Serif, DejaVu Sans, serif"); pref("font.name.sans-serif.x-math", "sans-serif"); pref("font.name.monospace.x-math", "monospace"); // Some CJK fonts have bad underline offset, their CJK character glyphs are overlapped (or adjoined) to its underline. // These fonts are ignored the underline offset, instead of it, the underline is lowered to bottom of its em descent. pref("font.blacklist.underline_offset", "FangSong,Gulim,GulimChe,MingLiU,MingLiU-ExtB,MingLiU_HKSCS,MingLiU-HKSCS-ExtB,MS Gothic,MS Mincho,MS PGothic,MS PMincho,MS UI Gothic,PMingLiU,PMingLiU-ExtB,SimHei,SimSun,SimSun-ExtB,Hei,Kai,Apple LiGothic,Apple LiSung,Osaka"); #ifdef MOZ_B2G @@ -3408,17 +3408,17 @@ pref("font.name.monospace.x-tibt", "Tibe pref("font.name-list.serif.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya"); pref("font.name-list.sans-serif.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya"); pref("font.name-list.monospace.x-tibt", "Tibetan Machine Uni, Jomolhari, Microsoft Himalaya"); pref("font.minimum-size.th", 10); pref("font.default.x-devanagari", "sans-serif"); pref("font.name.serif.x-math", "Latin Modern Math"); -pref("font.name-list.serif.x-math", "Latin Modern Math, STIX Two Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, STIXGeneral, DejaVu Serif, DejaVu Sans, Times New Roman"); +pref("font.name-list.serif.x-math", "Latin Modern Math, STIX Two Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, DejaVu Serif, DejaVu Sans, 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"); // cleartype settings - false implies default system settings // use cleartype rendering for downloadable fonts (win xp only) pref("gfx.font_rendering.cleartype.use_for_downloadable_fonts", true); @@ -3870,17 +3870,17 @@ pref("font.name-list.monospace.zh-HK", " // XP_MACOSX changes to default font sizes pref("font.minimum-size.th", 10); pref("font.size.variable.zh-CN", 15); pref("font.size.variable.zh-HK", 15); 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, STIX Two Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, 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-list.serif.x-math", "Latin Modern Math, STIX Two Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, 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"); pref("font.name.fantasy.x-math", "Papyrus"); // Individual font faces to be treated as independent families, // listed as pref("font.single-face-list", "Osaka-Mono:Osaka"); @@ -4284,17 +4284,17 @@ pref("font.name.monospace.zh-HK", "Fira pref("font.name-list.sans-serif.zh-HK", "Fira Sans,Droid Sans Fallback"); pref("font.name.serif.zh-TW", "Charis SIL Compact"); pref("font.name.sans-serif.zh-TW", "Fira Sans"); 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, STIX Two Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, 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-list.serif.x-math", "Latin Modern Math, STIX Two Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, DejaVu Serif, DejaVu Sans, Charis SIL Compact"); pref("font.name.sans-serif.x-math", "Fira Sans"); pref("font.name.monospace.x-math", "Fira Mono"); #elif defined(ANDROID) // We use the bundled fonts for Firefox for Android // ar @@ -4365,17 +4365,17 @@ pref("font.name-list.monospace.zh-HK", " pref("font.name.serif.zh-TW", "Charis SIL Compact"); pref("font.name.sans-serif.zh-TW", "Clear Sans"); pref("font.name.monospace.zh-TW", "Droid Sans Mono"); pref("font.name-list.serif.zh-TW", "Noto Serif, Droid Serif, Droid Sans Fallback"); pref("font.name-list.sans-serif.zh-TW", "Roboto, Droid Sans, Noto Sans TC, Noto Sans SC, Noto Sans CJK TC, Droid Sans Fallback"); pref("font.name-list.monospace.zh-TW", "Noto Sans Mono CJK TC, Droid Sans Fallback"); pref("font.name.serif.x-math", "Latin Modern Math"); -pref("font.name-list.serif.x-math", "Latin Modern Math, STIX Two Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, 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-list.serif.x-math", "Latin Modern Math, STIX Two Math, XITS Math, Cambria Math, Libertinus Math, DejaVu Math TeX Gyre, TeX Gyre Bonum Math, TeX Gyre Pagella Math, TeX Gyre Schola, TeX Gyre Termes Math, STIX Math, Asana Math, 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"); #endif #if OS_ARCH==AIX // Override default Japanese fonts