Index: third_party/skia/src/ports/SkFontHost_win.cpp |
=================================================================== |
--- third_party/skia/src/ports/SkFontHost_win.cpp (revision 14586) |
+++ third_party/skia/src/ports/SkFontHost_win.cpp (working copy) |
@@ -1055,12 +1055,13 @@ |
my->fMaxCharWidth = SkIntToScalar(otm.otmTextMetrics.tmMaxCharWidth); |
my->fXMin = SkIntToScalar(otm.otmrcFontBox.left); |
my->fXMax = SkIntToScalar(otm.otmrcFontBox.right); |
+#endif |
my->fUnderlineThickness = SkIntToScalar(otm.otmsUnderscoreSize); |
my->fUnderlinePosition = -SkIntToScalar(otm.otmsUnderscorePosition); |
my->fFlags |= SkPaint::FontMetrics::kUnderlineThinknessIsValid_Flag; |
my->fFlags |= SkPaint::FontMetrics::kUnderlinePositionIsValid_Flag; |
-#endif |
+ |
my->fXHeight = SkIntToScalar(otm.otmsXHeight); |
GLYPHMETRICS gm; |