зеркало из https://github.com/mozilla/pjs.git
backing out mMetrics->xHeight test in revision 1.161 to try to fix MozillaAliveTest.
This commit is contained in:
Родитель
08ab5f6002
Коммит
3aa3835cb1
|
@ -243,7 +243,7 @@ gfxWindowsFont::MakeHFONT()
|
||||||
chosenWeight = baseWeight * 100;
|
chosenWeight = baseWeight * 100;
|
||||||
|
|
||||||
mAdjustedSize = GetStyle()->size;
|
mAdjustedSize = GetStyle()->size;
|
||||||
if (mMetrics->xHeight != 0.0 && GetStyle()->sizeAdjust > 0.0) {
|
if (GetStyle()->sizeAdjust > 0.0) {
|
||||||
if (!mFont) {
|
if (!mFont) {
|
||||||
FillLogFont(mAdjustedSize, chosenWeight);
|
FillLogFont(mAdjustedSize, chosenWeight);
|
||||||
mFont = CreateFontIndirectW(&mLogFont);
|
mFont = CreateFontIndirectW(&mLogFont);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче