зеркало из https://github.com/mozilla/pjs.git
Bug 661471. Part 3: Apply 'GDI Classic' prefs to @font-face local(). r=jdaggett,jfkthame
This commit is contained in:
Родитель
df621c78c2
Коммит
1590ae33cc
|
@ -552,13 +552,14 @@ gfxDWriteFontList::LookupLocalFont(const gfxProxyFontEntry *aProxyEntry,
|
||||||
{
|
{
|
||||||
return nsnull;
|
return nsnull;
|
||||||
}
|
}
|
||||||
gfxFontEntry *fe =
|
gfxDWriteFontEntry* dwriteLookup = static_cast<gfxDWriteFontEntry*>(lookup);
|
||||||
|
gfxDWriteFontEntry *fe =
|
||||||
new gfxDWriteFontEntry(lookup->Name(),
|
new gfxDWriteFontEntry(lookup->Name(),
|
||||||
static_cast<gfxDWriteFontEntry*>(lookup)->mFont,
|
dwriteLookup->mFont,
|
||||||
aProxyEntry->Weight(),
|
aProxyEntry->Weight(),
|
||||||
aProxyEntry->Stretch(),
|
aProxyEntry->Stretch(),
|
||||||
aProxyEntry->IsItalic());
|
aProxyEntry->IsItalic());
|
||||||
|
fe->SetForceGDIClassic(dwriteLookup->GetForceGDIClassic());
|
||||||
return fe;
|
return fe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче