Index: src/core/SkPaint.cpp |
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp |
index 263ba1029c91553c87eed81308de61ce7e4a9d19..76fa7349ef381c2606b26813c05f48cbfd8dd1f9 100644 |
--- a/src/core/SkPaint.cpp |
+++ b/src/core/SkPaint.cpp |
@@ -1305,6 +1305,8 @@ SkScalar SkPaint::getFontMetrics(FontMetrics* metrics, SkScalar zoom) const { |
metrics->fXMin = SkScalarMul(metrics->fXMin, scale); |
metrics->fXMax = SkScalarMul(metrics->fXMax, scale); |
metrics->fXHeight = SkScalarMul(metrics->fXHeight, scale); |
+ metrics->fUnderlineThickness = SkScalarMul(metrics->fUnderlineThickness, scale); |
+ metrics->fUnderlinePosition = SkScalarMul(metrics->fUnderlinePosition, scale); |
} |
return metrics->fDescent - metrics->fAscent + metrics->fLeading; |
} |