This feature tracks the work to support picking the contrast and gamma values from the Windows ClearType Text Tuner setting and applying them to Skia text rendering. This ensures that users' text rendering preferences are respected on Windows devices.
Historically, Chromium/Skia has used compile-time constants for text contrast and gamma, with different values hard-coded per platform. This means that these values are not adjustable by the end user. Windows has a ClearType Text Tuner that guides the user through various contrast and gamma values for text rendering. Native applications generally automatically pick up these values if they use a DirectWrite based text stack. Chromium uses Skia for text rendering, and thus was not picking up these user adjustments on Windows. Lack of support for these adjustments in Chromium-based browsers has been a long-standing user complaint: - https://issues.chromium.org/issues/40918273 - https://issues.chromium.org/issues/40180569 - https://issues.chromium.org/issues/40668526 - https://issues.chromium.org/issues/40037624 - https://issues.chromium.org/issues/40067987 For more background on the motivation, see https://blogs.windows.com/msedgedev/2021/06/02/improving-font-rendering-in-microsoft-edge/