mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
fixing bug causing font-weight: 900 to not be bold. bug 359542. r=vlad
This commit is contained in:
parent
5ac98d02cf
commit
67fe6263f1
@ -256,6 +256,9 @@ gfxWindowsFont::MakeHFONT()
|
||||
chosenWeight = baseWeight * 100;
|
||||
}
|
||||
|
||||
if (chosenWeight == 0)
|
||||
chosenWeight = baseWeight * 100;
|
||||
|
||||
mAdjustedSize = mStyle->size;
|
||||
if (mStyle->sizeAdjust > 0) {
|
||||
if (!mFont) {
|
||||
|
Loading…
Reference in New Issue
Block a user