bug 670072 - round font sizes to integers in the GDI backend. r=jdaggett

This commit is contained in:
Jonathan Kew 2011-07-15 15:16:15 +01:00
parent a10316377d
commit 12a6085258

View File

@ -327,6 +327,7 @@ gfxGDIFont::Initialize()
} }
} }
mAdjustedSize = ROUND(mAdjustedSize);
FillLogFont(logFont, mAdjustedSize); FillLogFont(logFont, mAdjustedSize);
mFont = ::CreateFontIndirectW(&logFont); mFont = ::CreateFontIndirectW(&logFont);