Pass Windows font rendering preferences from browser to blink

Change the way Blink queries Windows font settings to work reliably with
the sandbox. Instead of calling SystemParametersInfo directly from Blink
in FontPlatformDataWin do so in the browser process and pass the desired
flags to Blink using the WebFontRendering interface. Also, use the value
should_antialias_text in Chrome's RendererPreferences object rather than
checking the SPI_GETFONTSMOOTHINGTYPE Windows system parameter directly.

Similarly use the subpixel_rendering field in RendererPreferences rather
than checking FE_FONTSMOOTHINGCLEARTYPE to control use of subpixel text.

In addition to ensure that these values are queried correctly this helps
guarantee that Chrome and Blink use the same setting for text rendering.

TBR=jam@chromium.org
BUG=419003

Review URL: https://codereview.chromium.org/1763803002

Cr-Commit-Position: refs/heads/master@{#379589}
6 files changed