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

Issue 1483543002: Always use user preference font before system fallback (Closed)

Created:
5 years ago by Kunihiko Sakamoto
Modified:
4 years, 12 months ago
Reviewers:
drott
CC:
chromium-reviews, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, Rik, blink-reviews-platform-graphics_chromium.org, dshwang, jbroman, Justin Novosad, danakj, krit, f(malita), blink-reviews, vmpstr+blinkwatch_chromium.org, Stephen Chennney, rwlbuis, eae, Takashi Toyoshima
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always use user preference font before system fallback Before this patch, FontFallbackList::getFontData() returned user's preferred standard font only if it couldn't find any FontData in the family list. otherwise, per-character system fallback was used. This patch makes getFontData() always return preference font when it reached the end of family list, so that preference font comes one step before going to system fallback. This fixes the bug where webfont fallback while loading and after load failure were inconsistent. BUG=299010, 545778 TEST=http/tests/webfont/fallback-font-while-loading.html Committed: https://crrev.com/5af9dfc5f6ed2163b13d8c20d679bdb44c783769 Cr-Commit-Position: refs/heads/master@{#366532}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Always use preference font as fallback #

Patch Set 3 : NeedsRebaseline #

Patch Set 4 : TestExpectations #

Patch Set 5 : rebase #

Patch Set 6 : Update bug # for slow expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -22 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 3 chunks +13 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/webfont/fallback-font-while-loading.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/webfont/fallback-font-while-loading-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontFallbackList.cpp View 1 2 3 4 1 chunk +9 lines, -19 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
Kunihiko Sakamoto
PTAL
5 years ago (2015-12-01 05:01:53 UTC) #7
drott
Very good to see fallback further fine tuned. I am trying to better understand the ...
5 years ago (2015-12-01 07:13:57 UTC) #8
Kunihiko Sakamoto
On 2015/12/01 07:13:57, drott wrote: > Very good to see fallback further fine tuned. I ...
5 years ago (2015-12-01 08:32:46 UTC) #9
drott
On 2015/12/01 08:32:46, Kunihiko Sakamoto wrote: > On 2015/12/01 07:13:57, drott wrote: > > Very ...
5 years ago (2015-12-01 09:36:22 UTC) #10
Kunihiko Sakamoto
On 2015/12/01 09:36:22, drott (travelling until 10th) wrote: > On 2015/12/01 08:32:46, Kunihiko Sakamoto wrote: ...
5 years ago (2015-12-11 06:36:18 UTC) #11
drott
On 2015/12/11 06:36:18, Kunihiko Sakamoto wrote: > On 2015/12/01 09:36:22, drott (travelling until 10th) wrote: ...
4 years, 12 months ago (2015-12-21 13:57:14 UTC) #12
Kunihiko Sakamoto
On 2015/12/21 13:57:14, drott wrote: > On 2015/12/11 06:36:18, Kunihiko Sakamoto wrote: > > On ...
4 years, 12 months ago (2015-12-22 03:01:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1483543002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1483543002/140001
4 years, 12 months ago (2015-12-22 03:03:57 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 12 months ago (2015-12-22 03:10:13 UTC) #19
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/5af9dfc5f6ed2163b13d8c20d679bdb44c783769 Cr-Commit-Position: refs/heads/master@{#366532}
4 years, 12 months ago (2015-12-22 03:10:55 UTC) #21
Noel Gordon
fast/forms/text/text-font-height-mismatch.html change behavior when this change landed, refer to: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Fforms%2Ftext%2Ftext-font-height-mismatch.html&showLargeExpectations=true Please fix or revert.
4 years, 12 months ago (2015-12-22 04:47:37 UTC) #22
Kunihiko Sakamoto
On 2015/12/22 04:47:37, noel gordon wrote: > fast/forms/text/text-font-height-mismatch.html change behavior when this change > landed, ...
4 years, 12 months ago (2015-12-22 05:01:56 UTC) #24
Noel Gordon
Thank you.
4 years, 12 months ago (2015-12-22 05:24:36 UTC) #25
Noel Gordon
4 years, 12 months ago (2015-12-22 05:27:08 UTC) #26
Message was sent while issue was closed.
On 2015/12/22 05:24:36, noel gordon wrote:
> Thank you.

https://build.chromium.org/p/chromium.webkit/builders/WebKit%20XP/builds/23412 

fast/forms/text/text-font-height-mismatch.html failed on XP too :(

Powered by Google App Engine
This is Rietveld 408576698