-webkit-font-smoothing doesn't work on Windows |
||
Issue descriptionCheck the attached example on Windows, the 3 divs look the same when they have different values for -webkit-font-smoothing property. I'm attaching the output in Mac and Windows to see the differences. Checking the code it seems font-smoothing is only used at FontPlatformDataMac.mm [1] in FontPlatformData::SetupPaintFont(). However that's not used at all in FontPlatformDataWin.cpp [2]. For example it seems SkPaint::kLCDRenderText_Flag is never set on Windows. [1] https://chromium.googlesource.com/chromium/src/+/6909405cadf0750df9f7a1e57747dbfd38b7982b/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm#115 [2] https://chromium.googlesource.com/chromium/src/+/6909405cadf0750df9f7a1e57747dbfd38b7982b/third_party/WebKit/Source/platform/fonts/win/FontPlatformDataWin.cpp#47
,
Jan 2 2018
Hi Rego, thanks for the report. We don't plan to support this legacy, prefixed CSS on any other platforms. Not related to issue 702592 - 702592 can be improved by Skia reading certain ClearType contrast settings and applying them to DWrite drawing calls. |
||
►
Sign in to add a comment |
||
Comment 1 by r...@igalia.com
, Dec 27 2017