зеркало из https://github.com/mozilla/gecko-dev.git
Bug 517045. Remove code causing startup regression in Mac font initialization. r=jkew
This commit is contained in:
Родитель
ee8fb79ffa
Коммит
a495ab4908
|
@ -460,9 +460,7 @@ gfxMacPlatformFontList::InitSingleFaceList()
|
|||
gfxFontEntry *fontEntry = LookupLocalFont(nsnull, singleFaceFonts[i]);
|
||||
if (fontEntry) {
|
||||
nsAutoString familyName, key;
|
||||
if (!GetStandardFamilyName(singleFaceFonts[i], familyName)) {
|
||||
familyName = singleFaceFonts[i];
|
||||
}
|
||||
familyName = singleFaceFonts[i];
|
||||
GenerateFontListKey(familyName, key);
|
||||
PR_LOG(gFontInfoLog, PR_LOG_DEBUG, ("(fontlist-singleface) family name: %s, key: %s\n",
|
||||
NS_ConvertUTF16toUTF8(familyName).get(), NS_ConvertUTF16toUTF8(key).get()));
|
||||
|
|
Загрузка…
Ссылка в новой задаче