mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1659313 - Use the Mathematics font preference during fallback for characters from Unicode math-symbols blocks. r=fredw
Differential Revision: https://phabricator.services.mozilla.com/D87192
This commit is contained in:
parent
85e43fff8a
commit
469eb289ea
@ -1761,6 +1761,12 @@ eFontPrefLang gfxPlatformFontList::GetFontPrefLangFor(uint32_t aCh) {
|
||||
case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_F:
|
||||
case UBLOCK_KANA_EXTENDED_A:
|
||||
return eFontPrefLang_CJKSet;
|
||||
case UBLOCK_MATHEMATICAL_OPERATORS:
|
||||
case UBLOCK_MATHEMATICAL_ALPHANUMERIC_SYMBOLS:
|
||||
case UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A:
|
||||
case UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B:
|
||||
case UBLOCK_SUPPLEMENTAL_MATHEMATICAL_OPERATORS:
|
||||
return eFontPrefLang_Mathematics;
|
||||
default:
|
||||
return eFontPrefLang_Others;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user