Bug 1335124 - Remove mathfontSymbol.properties. r=karl

--HG--
extra : rebase_source : 54348cf06a8b149868958c17528074b5287689af
This commit is contained in:
Frédéric Wang 2017-01-30 12:06:00 +01:00
Родитель f7dbfb4e81
Коммит 1fdf03a9a3
4 изменённых файлов: 2 добавлений и 58 удалений

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

@ -1,46 +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 Monotype's Symbol font.
#
# This file should normally only be installed on MS Windows systems as other
# platforms have different fonts with the same family name but different
# character codes.
mathfont = Symbol
# [ T/L | M | B/R | G | size0 ... size{N-1} ]
\u0028 = \uF0E6\uFFFD\uF0E8\uF0E7\uF028 # (
\u0029 = \uF0F6\uFFFD\uF0F8\uF0F7\uF029 # )
\u005B = \uF0E9\uFFFD\uF0EB\uF0EA\uF05B # [
\u005D = \uF0F9\uFFFD\uF0FB\uF0FA\uF05D # ]
\u007B = \uF0EC\uF0ED\uF0EE\uF0EF\uF07B # {
\u007C = \uFFFD\uFFFD\uFFFD\uF07C\uF07C # |
\u007D = \uF0FC\uF0FD\uF0FE\uF0EF\uF07D # }
\u00AF = \uFFFD\uFFFD\uFFFD\uF060\uF060 # ad-hoc: overbar is stretched with the radical extender
\u0332 = \uFFFD\uFFFD\uFFFD\uF05F\uF05F # ad-hoc: UnderBar (0x0332) is stretched with underscore
\u2190 = \uF0AC\uFFFD\uFFFD\uF0BE\uF0AC # LeftArrow, larr, leftarrow
\u2191 = \uF0AD\uFFFD\uFFFD\uF0BD\uF0AD # UpArrow, uarr, uparrow
\u2192 = \uFFFD\uFFFD\uF0AE\uF0BE\uF0AE # RightArrow, rarr, rightarrow
\u2193 = \uFFFD\uFFFD\uF0AF\uF0BD\uF0AF # DownArrow, darr, downarrow
\u2194 = \uF0AC\uFFFD\uF0AE\uF0BE\uF0B4 # LeftRightArrow, harr, leftrightarrow
\u2195 = \uF0AD\uFFFD\uF0AF\uF0BD # UpDownArrow, updownarrow, varr
\u222B = \uF0F3\uFFFD\uF0F5\uF0F4\uF0F2 # Integral, int
# Using parts of [ and ]
\u2308 = \uF0E9\uFFFD\uFFFD\uF0EA\uF0E9 # LeftCeiling, lceil
\u2309 = \uF0F9\uFFFD\uFFFD\uF0FA\uF0F9 # RightCeiling, rceil
\u230A = \uFFFD\uFFFD\uF0EB\uF0EA\uF0EB # LeftFloor, lfloor
\u230B = \uFFFD\uFFFD\uF0FB\uF0FA\uF0FB # RightFloor, rfloor
# same as normal arrows
\u27F5 = \uF0AC\uFFFD\uFFFD\uF0BE # LongLeftArrow
\u27F6 = \uFFFD\uFFFD\uF0AE\uF0BE # LongRightArrow
\u27F7 = \uF0AC\uFFFD\uF0AE\uF0BE # LongLeftRightArrow

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

@ -64,10 +64,5 @@ RESOURCE_FILES.fonts += [
'mathfontUnicode.properties',
]
if CONFIG['OS_TARGET'] == 'WINNT':
RESOURCE_FILES.fonts += [
'mathfontSymbol.properties',
]
if CONFIG['GNU_CXX']:
CXXFLAGS += ['-Wno-error=shadow']

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

@ -735,11 +735,7 @@ InitCharGlobals()
// 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"))
#ifdef XP_WIN
|| !glyphTableList->AddGlyphTable(NS_LITERAL_STRING("Symbol"))
#endif
) {
if (!glyphTableList->AddGlyphTable(NS_LITERAL_STRING("STIXGeneral"))) {
rv = NS_ERROR_OUT_OF_MEMORY;
}

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

@ -3413,8 +3413,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, 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 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, STIXGeneral, 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");