mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1118981 - initialize mSkipDrawing correctly for already loading fonts. r=jfkthame
This commit is contained in:
parent
2c93df25c4
commit
90597619b9
@ -1703,7 +1703,9 @@ gfxFontGroup::FindPlatformFont(const nsAString& aName,
|
||||
uint32_t count = userfonts.Length();
|
||||
for (uint32_t i = 0; i < count; i++) {
|
||||
fe = userfonts[i];
|
||||
mFonts.AppendElement(FamilyFace(family, fe, needsBold));
|
||||
FamilyFace ff(family, fe, needsBold);
|
||||
ff.CheckState(mSkipDrawing);
|
||||
mFonts.AppendElement(ff);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user