backing out mMetrics->xHeight test in revision 1.161 to try to fix MozillaAliveTest.

This commit is contained in:
karlt+@karlt.net 2007-12-19 14:16:46 -08:00
parent b81332659b
commit c87f7d77cc

View File

@ -243,7 +243,7 @@ gfxWindowsFont::MakeHFONT()
chosenWeight = baseWeight * 100;
mAdjustedSize = GetStyle()->size;
if (mMetrics->xHeight != 0.0 && GetStyle()->sizeAdjust > 0.0) {
if (GetStyle()->sizeAdjust > 0.0) {
if (!mFont) {
FillLogFont(mAdjustedSize, chosenWeight);
mFont = CreateFontIndirectW(&mLogFont);