mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 03:19:06 +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);
|
||||
mFont = ::CreateFontIndirectW(&logFont);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user