diff options
-rw-r--r-- | chrome/common/gfx/chrome_font_skia.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/gfx/chrome_font_skia.cc b/chrome/common/gfx/chrome_font_skia.cc index 6c80c8d..0c3b721 100644 --- a/chrome/common/gfx/chrome_font_skia.cc +++ b/chrome/common/gfx/chrome_font_skia.cc @@ -42,7 +42,7 @@ void ChromeFont::calculateMetrics() { height_ = ascent_ + metrics.fVDMXDescent; } else { ascent_ = SkScalarRound(-metrics.fAscent); - height_ = SkScalarRound(metrics.fHeight); + height_ = SkScalarRound(metrics.fAscent + metrics.fDescent + metrics.fLeading); } if (metrics.fAvgCharWidth) { |