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

Issue 785763002: Disable subpixel positioning if DirectWrite isn't initialized (Closed)

Created:
6 years ago by ckocagil
Modified:
6 years ago
Reviewers:
msw
CC:
chromium-reviews, derat+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Disable subpixel positioning if DirectWrite isn't initialized BUG=439572 Committed: https://crrev.com/f9c458fb8d7b47305dd9e484c49704ca5577054a Cr-Commit-Position: refs/heads/master@{#308213}

Patch Set 1 #

Patch Set 2 : fix test #

Total comments: 10

Patch Set 3 : added comments #

Patch Set 4 : test more columns; extract constants #

Total comments: 4

Patch Set 5 : nits #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -14 lines) Patch
M ui/gfx/font_render_params_win.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ui/gfx/render_text_unittest.cc View 1 2 3 4 5 2 chunks +18 lines, -9 lines 0 comments Download
M ui/gfx/win/direct_write.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/win/direct_write.cc View 2 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
ckocagil
PTAL. I relax the test to ignore pixels that have a little bit of paint ...
6 years ago (2014-12-10 20:59:11 UTC) #2
msw
https://codereview.chromium.org/785763002/diff/20001/ui/gfx/font_render_params_win.cc File ui/gfx/font_render_params_win.cc (right): https://codereview.chromium.org/785763002/diff/20001/ui/gfx/font_render_params_win.cc#newcode38 ui/gfx/font_render_params_win.cc:38: params_->subpixel_positioning = win::IsDirectWriteEnabled(); Is this correct, or should we ...
6 years ago (2014-12-10 23:55:50 UTC) #3
ckocagil
https://codereview.chromium.org/785763002/diff/20001/ui/gfx/font_render_params_win.cc File ui/gfx/font_render_params_win.cc (right): https://codereview.chromium.org/785763002/diff/20001/ui/gfx/font_render_params_win.cc#newcode38 ui/gfx/font_render_params_win.cc:38: params_->subpixel_positioning = win::IsDirectWriteEnabled(); On 2014/12/10 23:55:50, msw wrote: > ...
6 years ago (2014-12-11 01:07:11 UTC) #4
msw
https://codereview.chromium.org/785763002/diff/20001/ui/gfx/font_render_params_win.cc File ui/gfx/font_render_params_win.cc (right): https://codereview.chromium.org/785763002/diff/20001/ui/gfx/font_render_params_win.cc#newcode38 ui/gfx/font_render_params_win.cc:38: params_->subpixel_positioning = win::IsDirectWriteEnabled(); On 2014/12/11 01:07:11, ckocagil wrote: > ...
6 years ago (2014-12-11 23:30:13 UTC) #5
ckocagil
https://codereview.chromium.org/785763002/diff/20001/ui/gfx/font_render_params_win.cc File ui/gfx/font_render_params_win.cc (right): https://codereview.chromium.org/785763002/diff/20001/ui/gfx/font_render_params_win.cc#newcode38 ui/gfx/font_render_params_win.cc:38: params_->subpixel_positioning = win::IsDirectWriteEnabled(); On 2014/12/11 23:30:12, msw wrote: > ...
6 years ago (2014-12-12 09:52:11 UTC) #6
msw
lgtm with optional nits. https://codereview.chromium.org/785763002/diff/60001/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (right): https://codereview.chromium.org/785763002/diff/60001/ui/gfx/render_text_unittest.cc#newcode2401 ui/gfx/render_text_unittest.cc:2401: ASSERT_GT(kCanvasSize.width() - kTestWidth, width); optional ...
6 years ago (2014-12-12 18:58:43 UTC) #7
ckocagil
https://codereview.chromium.org/785763002/diff/60001/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (right): https://codereview.chromium.org/785763002/diff/60001/ui/gfx/render_text_unittest.cc#newcode2401 ui/gfx/render_text_unittest.cc:2401: ASSERT_GT(kCanvasSize.width() - kTestWidth, width); On 2014/12/12 18:58:43, msw wrote: ...
6 years ago (2014-12-12 22:16:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/785763002/80001
6 years ago (2014-12-12 22:16:51 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/41643) android_arm64_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/30387) android_clang_dbg_recipe ...
6 years ago (2014-12-12 22:21:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/785763002/100001
6 years ago (2014-12-13 00:02:27 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years ago (2014-12-13 01:25:18 UTC) #15
commit-bot: I haz the power
6 years ago (2014-12-13 01:26:13 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f9c458fb8d7b47305dd9e484c49704ca5577054a
Cr-Commit-Position: refs/heads/master@{#308213}

Powered by Google App Engine
This is Rietveld 408576698