mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
backing out part of previous change due to size and boldness issues on
some displays; r=none
This commit is contained in:
parent
db82916641
commit
f1a2d6ff7f
@ -1382,7 +1382,7 @@ nsFontGTK::LoadFont(nsFontCharSet* aCharSet, nsFontMetricsGTK* aMetrics)
|
||||
}
|
||||
}
|
||||
mFont = gdkFont;
|
||||
mActualSize = xFont->ascent + xFont->descent;
|
||||
mActualSize = xFont->max_bounds.ascent + xFont->max_bounds.descent;
|
||||
#if 0
|
||||
if (aCharSet->mInfo->mSpecialUnderline && aMetrics->mFontHandle) {
|
||||
XFontStruct* asciiXFont =
|
||||
|
Loading…
Reference in New Issue
Block a user