mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 091a5ced91cd (bug 1031187)
This commit is contained in:
parent
70336379f5
commit
34f3c11520
@ -818,11 +818,7 @@ public:
|
||||
{
|
||||
aFontEntry->mIgnoreGDEF = true;
|
||||
}
|
||||
if (aFontEntry->mFamilyName.IsEmpty()) {
|
||||
aFontEntry->mFamilyName = Name();
|
||||
} else {
|
||||
MOZ_ASSERT(aFontEntry->mFamilyName.Equals(Name()));
|
||||
}
|
||||
aFontEntry->mFamilyName = Name();
|
||||
aFontEntry->mSkipDefaultFeatureSpaceCheck = mSkipDefaultFeatureSpaceCheck;
|
||||
mAvailableFonts.AppendElement(aFontEntry);
|
||||
}
|
||||
|
@ -355,7 +355,6 @@ gfxProxyFontEntry::LoadNext(gfxMixedFontFamily *aFamily,
|
||||
uint32_t(mFontSet->mGeneration)));
|
||||
fe->mFeatureSettings.AppendElements(mFeatureSettings);
|
||||
fe->mLanguageOverride = mLanguageOverride;
|
||||
fe->mFamilyName = mFamilyName;
|
||||
// For src:local(), we don't care whether the request is from
|
||||
// a private window as there's no issue of caching resources;
|
||||
// local fonts are just available all the time.
|
||||
@ -529,7 +528,6 @@ gfxProxyFontEntry::LoadFont(gfxMixedFontFamily *aFamily,
|
||||
// newly-created font entry
|
||||
fe->mFeatureSettings.AppendElements(mFeatureSettings);
|
||||
fe->mLanguageOverride = mLanguageOverride;
|
||||
fe->mFamilyName = mFamilyName;
|
||||
StoreUserFontData(fe, mFontSet->GetPrivateBrowsing(), originalFullName,
|
||||
&metadata, metaOrigLen);
|
||||
#ifdef PR_LOGGING
|
||||
@ -644,7 +642,6 @@ gfxUserFontSet::AddFontFace(const nsAString& aFamilyName,
|
||||
aFeatureSettings,
|
||||
aLanguageOverride,
|
||||
aUnicodeRanges);
|
||||
proxyEntry->mFamilyName = aFamilyName;
|
||||
family->AddFontEntry(proxyEntry);
|
||||
#ifdef PR_LOGGING
|
||||
if (LOG_ENABLED()) {
|
||||
|
@ -103,11 +103,7 @@ public:
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (aFontEntry->mFamilyName.IsEmpty()) {
|
||||
aFontEntry->mFamilyName = Name();
|
||||
} else {
|
||||
MOZ_ASSERT(aFontEntry->mFamilyName.Equals(Name()));
|
||||
}
|
||||
aFontEntry->mFamilyName = Name();
|
||||
ResetCharacterMap();
|
||||
}
|
||||
|
||||
@ -122,11 +118,7 @@ public:
|
||||
// Note that this may delete aProxyFontEntry, if there's no
|
||||
// other reference to it except from its family.
|
||||
mAvailableFonts[i] = aRealFontEntry;
|
||||
if (aRealFontEntry->mFamilyName.IsEmpty()) {
|
||||
aRealFontEntry->mFamilyName = Name();
|
||||
} else {
|
||||
MOZ_ASSERT(aRealFontEntry->mFamilyName.Equals(Name()));
|
||||
}
|
||||
aRealFontEntry->mFamilyName = Name();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user