Index: Source/platform/fonts/win/FontPlatformDataWin.cpp |
=================================================================== |
--- Source/platform/fonts/win/FontPlatformDataWin.cpp (revision 181738) |
+++ Source/platform/fonts/win/FontPlatformDataWin.cpp (working copy) |
@@ -69,7 +69,7 @@ |
// run without font smoothing we enable it for tests to ensure we get |
// good test coverage matching the more common smoothing enabled |
// behavior. |
- if (m_useSubpixelPositioning |
+ if (m_useSubpixelPositioning && ts >= m_minSizeForSubpixel |
&& ((textFlags & SkPaint::kAntiAlias_Flag) || LayoutTestSupport::isRunningLayoutTest())) |
flags |= SkPaint::kSubpixelText_Flag; |