fixing bug causing font-weight: 900 to not be bold. bug 359542. r=vlad

This commit is contained in:
pavlov@pavlov.net 2007-04-03 13:11:25 -07:00
parent 5ac98d02cf
commit 67fe6263f1

View File

@ -256,6 +256,9 @@ gfxWindowsFont::MakeHFONT()
chosenWeight = baseWeight * 100;
}
if (chosenWeight == 0)
chosenWeight = baseWeight * 100;
mAdjustedSize = mStyle->size;
if (mStyle->sizeAdjust > 0) {
if (!mFont) {