mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
backing out mMetrics->xHeight test in revision 1.161 to try to fix MozillaAliveTest.
This commit is contained in:
parent
b81332659b
commit
c87f7d77cc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user