mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 11:27:49 +00:00
bug 670072 - round font sizes to integers in the GDI backend. r=jdaggett
This commit is contained in:
parent
a10316377d
commit
12a6085258
@ -327,6 +327,7 @@ gfxGDIFont::Initialize()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mAdjustedSize = ROUND(mAdjustedSize);
|
||||||
FillLogFont(logFont, mAdjustedSize);
|
FillLogFont(logFont, mAdjustedSize);
|
||||||
mFont = ::CreateFontIndirectW(&logFont);
|
mFont = ::CreateFontIndirectW(&logFont);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user