Index: src/ports/SkFontHost_win.cpp |
=================================================================== |
--- src/ports/SkFontHost_win.cpp (revision 14688) |
+++ src/ports/SkFontHost_win.cpp (working copy) |
@@ -1055,6 +1055,8 @@ |
my->fMaxCharWidth = SkIntToScalar(otm.otmTextMetrics.tmMaxCharWidth); |
my->fXMin = SkIntToScalar(otm.otmrcFontBox.left); |
my->fXMax = SkIntToScalar(otm.otmrcFontBox.right); |
+#endif |
+#ifndef SK_IGNORE_UNDERLINE_POSITION_FIX |
my->fUnderlineThickness = SkIntToScalar(otm.otmsUnderscoreSize); |
my->fUnderlinePosition = -SkIntToScalar(otm.otmsUnderscorePosition); |