Index: Source/platform/fonts/win/FontCacheSkiaWin.cpp |
diff --git a/Source/platform/fonts/win/FontCacheSkiaWin.cpp b/Source/platform/fonts/win/FontCacheSkiaWin.cpp |
index c90ec30318e5cf9922e78cf10a559c91e9a6073b..e19747be776dd3229d7eb0392da8a258266c4598 100644 |
--- a/Source/platform/fonts/win/FontCacheSkiaWin.cpp |
+++ b/Source/platform/fonts/win/FontCacheSkiaWin.cpp |
@@ -61,6 +61,7 @@ FontCache::FontCache() |
if (s_useDirectWrite) { |
fontManager = SkFontMgr_New_DirectWrite(s_directWriteFactory); |
+ s_useSubpixelPositioning = RuntimeEnabledFeatures::subpixelFontScalingEnabled(); |
} else { |
fontManager = SkFontMgr_New_GDI(); |
// Subpixel text positioning is not supported by the GDI backend. |