mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 18:51:28 +00:00
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:
parent
8b97dd574a
commit
5f533bac8f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user