Index: ports/SkFontHost_mac.cpp |
diff --git a/ports/SkFontHost_mac.cpp b/ports/SkFontHost_mac.cpp |
index fe3fd069817be56a3406d2b03c57ca7882812e91..b465ecd1eb58172a3162a6cdd91d3554daf2cecd 100755 |
--- a/ports/SkFontHost_mac.cpp |
+++ b/ports/SkFontHost_mac.cpp |
@@ -1379,6 +1379,7 @@ void SkScalerContext_Mac::generateFontMetrics(SkPaint::FontMetrics* mx, |
theMetrics.fXMin = CGToScalar( CGRectGetMinX_inline(theBounds)); |
theMetrics.fXMax = CGToScalar( CGRectGetMaxX_inline(theBounds)); |
theMetrics.fXHeight = CGToScalar( CTFontGetXHeight(fCTFont)); |
+ theMetrics.fUnderlineThickness = CGToScalar(CTFontGetUnderlineThickness(fCTFont)); |
if (mx != NULL) { |
*mx = theMetrics; |