mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 548964 [DW] bottom of spellchecker underline isn't painted in <input> element with some fonts r=jfkthame, a=joe
This commit is contained in:
parent
c72734e2c4
commit
fc878384cc
@ -199,11 +199,7 @@ gfxDWriteFont::ComputeMetrics()
|
||||
mFontFace->ReleaseFontTable(tableContext);
|
||||
}
|
||||
|
||||
mMetrics.internalLeading =
|
||||
ceil(((gfxFloat)(fontMetrics.ascent +
|
||||
fontMetrics.descent -
|
||||
fontMetrics.designUnitsPerEm) /
|
||||
fontMetrics.designUnitsPerEm) * mAdjustedSize);
|
||||
mMetrics.internalLeading = NS_MAX(mMetrics.maxHeight - mMetrics.emHeight, 0.0);
|
||||
mMetrics.externalLeading =
|
||||
ceil(((gfxFloat)fontMetrics.lineGap /
|
||||
fontMetrics.designUnitsPerEm) * mAdjustedSize);
|
||||
|
Loading…
Reference in New Issue
Block a user