Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Issue 1763803002: Pass Windows font rendering preferences from browser to blink (Closed)

Created:
4 years, 9 months ago by eae
Modified:
4 years, 9 months ago
Reviewers:
ananta, jam, scottmg
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, nasko+codewatch_chromium.org, vmpstr+blinkwatch_chromium.org, kinuko+watch, rwlbuis, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, jam, Justin Novosad, dglazkov+blink, Rik, darin-cc_chromium.org, blink-reviews, blink-reviews-api_chromium.org, mlamouri+watch-content_chromium.org, dshwang, creis+watch_chromium.org, jbroman, krit, Stephen Chennney, f(malita), mkwst+moarreviews-renderer_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/e3fe85330f1fbad6cb02cd0c5ceb09498e50f349 Cr-Commit-Position: refs/heads/master@{#379589}

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -33 lines) Patch
M content/renderer/render_view_win.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontCache.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontCache.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/win/FontPlatformDataWin.cpp View 1 2 chunks +7 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/web/win/WebFontRendering.cpp View 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/win/WebFontRendering.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
eae
4 years, 9 months ago (2016-03-04 00:29:12 UTC) #3
eae
4 years, 9 months ago (2016-03-04 00:30:44 UTC) #6
ananta
lgtm
4 years, 9 months ago (2016-03-04 01:45:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763803002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763803002/20001
4 years, 9 months ago (2016-03-04 03:01:49 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/153270)
4 years, 9 months ago (2016-03-04 03:11:40 UTC) #11
eae
+jam for content/renderer/render_view_win.cc approval
4 years, 9 months ago (2016-03-04 03:23:04 UTC) #13
scottmg
lgtm (jam is ooo for a week, I think this is ok to tbr, or ...
4 years, 9 months ago (2016-03-05 00:15:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763803002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763803002/20001
4 years, 9 months ago (2016-03-07 17:03:35 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-07 18:21:30 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-07 18:22:37 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e3fe85330f1fbad6cb02cd0c5ceb09498e50f349
Cr-Commit-Position: refs/heads/master@{#379589}

Powered by Google App Engine
This is Rietveld 408576698