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

Issue 678683003: Make RenderTextHarfBuzz examine full font list. (Closed)

Created:
6 years, 2 months ago by Daniel Erat
Modified:
6 years, 1 month ago
Reviewers:
msw, ckocagil
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make RenderTextHarfBuzz examine full font list. When evaluating which font to use for a run, RenderTextHarfBuzz should examine all fonts in the font list that was supplied to it. Previously, it only tried the primary font before resorting to its fallback logic. BUG=none Committed: https://crrev.com/2e3cf521ff59c2a3f657a72af04892f4a5783d6a Cr-Commit-Position: refs/heads/master@{#301284}

Patch Set 1 #

Total comments: 10

Patch Set 2 : avoid calling Draw() #

Patch Set 3 : disable test on windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -4 lines) Patch
M ui/gfx/render_text_harfbuzz.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M ui/gfx/render_text_unittest.cc View 1 2 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Daniel Erat
as suggested by mike at https://codereview.chromium.org/674683003/ https://codereview.chromium.org/678683003/diff/1/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (right): https://codereview.chromium.org/678683003/diff/1/ui/gfx/render_text_unittest.cc#newcode2331 ui/gfx/render_text_unittest.cc:2331: TEST_F(RenderTextTest, FontListFallback) { ...
6 years, 2 months ago (2014-10-24 15:43:23 UTC) #2
msw
Just some test nits/qs; thanks! https://codereview.chromium.org/678683003/diff/1/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (right): https://codereview.chromium.org/678683003/diff/1/ui/gfx/render_text_unittest.cc#newcode2331 ui/gfx/render_text_unittest.cc:2331: TEST_F(RenderTextTest, FontListFallback) { On ...
6 years, 2 months ago (2014-10-24 16:09:11 UTC) #3
Daniel Erat
https://codereview.chromium.org/678683003/diff/1/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (right): https://codereview.chromium.org/678683003/diff/1/ui/gfx/render_text_unittest.cc#newcode2341 ui/gfx/render_text_unittest.cc:2341: // "⊕" (CIRCLED PLUS) should be rendered with Symbol ...
6 years, 2 months ago (2014-10-24 16:25:47 UTC) #4
ckocagil
lgtm
6 years, 2 months ago (2014-10-24 16:36:24 UTC) #5
Daniel Erat
i might end up needing to make this test linux-only; it failed on the win_chromium_rel ...
6 years, 2 months ago (2014-10-24 16:44:05 UTC) #6
msw
LGTM (even with RTHB-only for now). On 2014/10/24 16:44:05, Daniel Erat wrote: > i might ...
6 years, 2 months ago (2014-10-24 16:48:29 UTC) #7
ckocagil
On 2014/10/24 16:44:05, Daniel Erat wrote: > i might end up needing to make this ...
6 years, 2 months ago (2014-10-24 18:21:28 UTC) #8
Daniel Erat
On 2014/10/24 18:21:28, ckocagil wrote: > On 2014/10/24 16:44:05, Daniel Erat wrote: > > i ...
6 years, 2 months ago (2014-10-24 21:42:09 UTC) #9
Daniel Erat
filed http://crbug.com/427184 and ifdef-ed the test out on windows.
6 years, 1 month ago (2014-10-25 13:38:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/678683003/40001
6 years, 1 month ago (2014-10-25 13:39:36 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-10-25 15:17:37 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-10-25 15:18:13 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2e3cf521ff59c2a3f657a72af04892f4a5783d6a
Cr-Commit-Position: refs/heads/master@{#301284}

Powered by Google App Engine
This is Rietveld 408576698