author | Jonathan Watt <jwatt@jwatt.org> |
Wed, 11 Apr 2018 21:15:48 +0100 | |
changeset 413229 | b173e6c0621fbb71d523d87d9ac8f33575184a1c |
parent 413228 | c165de96347189065b24211ee8589bf95f6f25d8 |
child 413230 | 837a6f4efa3eaf3cff106349b735e718efb4d4a6 |
push id | 102125 |
push user | jwatt@jwatt.org |
push date | Fri, 13 Apr 2018 19:37:11 +0000 |
treeherder | mozilla-inbound@837a6f4efa3e [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jfkthame |
bugs | 1453924 |
milestone | 61.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/gfx/thebes/gfxGDIFontList.cpp +++ b/gfx/thebes/gfxGDIFontList.cpp @@ -298,17 +298,17 @@ GDIFontEntry::TestCharacterMap(uint32_t if (aCh > 0xFFFF) return false; // previous code was using the group style gfxFontStyle fakeStyle; if (!IsUpright()) { fakeStyle.style = NS_FONT_STYLE_ITALIC; } - fakeStyle.weight = mWeight * 100; + fakeStyle.weight = mWeight; RefPtr<gfxFont> tempFont = FindOrMakeFont(&fakeStyle, false); if (!tempFont || !tempFont->Valid()) return false; gfxGDIFont *font = static_cast<gfxGDIFont*>(tempFont.get()); HDC dc = GetDC((HWND)nullptr); SetGraphicsMode(dc, GM_ADVANCED);