Bug 1330389 - CoreText font fallback on macOS may choose one of the 'hidden' system fonts, so we need to check that list when looking for the corresponding gfxFontFamily. r=jrmuizel

This commit is contained in:
Jonathan Kew 2017-01-18 20:38:05 +00:00
parent 8b97dd574a
commit 5f533bac8f

View File

@ -1064,7 +1064,7 @@ gfxMacPlatformFontList::GlobalFontFallback(const uint32_t aCh,
bool needsBold; // ignored in the system fallback case
gfxFontFamily *family = FindFamily(familyNameString);
gfxFontFamily *family = FindSystemFontFamily(familyNameString);
if (family) {
fontEntry = family->FindFontForStyle(*aMatchStyle, needsBold);
if (fontEntry) {