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

Issue 1672553004: Use FontFallbackPriority Fonts in FontFallbackIterator (Closed)

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

Description

Use FontFallbackPriority Fonts in FontFallbackIterator Now that the pieces are in place, use the emoji and symbol fonts in FontFallbackIterator. Previously FontCache's character fallback functions were extended so that they take FontFallbackPriority into account. These functions can now be used in FontFallbackIterator as a fallback priority stage where those fonts are used as the first fallback font in order to correctly distinguish between emoji and text presentation emoji. BUG=549571 R=eae, behdad Committed: https://crrev.com/978d4a1ba3d9654905378de192e64f9232e62798 Cr-Commit-Position: refs/heads/master@{#379036}

Patch Set 1 #

Patch Set 2 : Column limit #

Total comments: 3

Patch Set 3 : Major changes to adapt to new version of fallback API #

Patch Set 4 : TestExpectations update, more emoji shown #

Patch Set 5 : target branch changed #

Patch Set 6 : win rebaselines for emoji related test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -15 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/Font.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/Font.cpp View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontDataRange.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontFallbackIterator.h View 1 2 5 chunks +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp View 1 2 4 chunks +45 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 1 2 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 38 (15 generated)
drott
4 years, 10 months ago (2016-02-05 11:50:01 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672553004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672553004/1
4 years, 10 months ago (2016-02-05 11:50:13 UTC) #3
drott
Column limit
4 years, 10 months ago (2016-02-05 11:55:41 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672553004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672553004/20001
4 years, 10 months ago (2016-02-05 11:56:19 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/169810)
4 years, 10 months ago (2016-02-05 13:15:40 UTC) #8
drott
https://codereview.chromium.org/1672553004/diff/20001/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp File third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp (right): https://codereview.chromium.org/1672553004/diff/20001/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp#newcode37 third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp:37: // Currently we have to push the Emoji font ...
4 years, 10 months ago (2016-02-05 13:29:18 UTC) #9
eae
I'd like behdad to comment on the general approach before doing a detailed review but ...
4 years, 10 months ago (2016-02-08 08:20:18 UTC) #10
behdad
lgtm
4 years, 10 months ago (2016-02-17 12:11:11 UTC) #11
eae
LGTM w/comments https://codereview.chromium.org/1672553004/diff/20001/third_party/WebKit/Source/platform/fonts/FontDataRange.h File third_party/WebKit/Source/platform/fonts/FontDataRange.h (right): https://codereview.chromium.org/1672553004/diff/20001/third_party/WebKit/Source/platform/fonts/FontDataRange.h#newcode65 third_party/WebKit/Source/platform/fonts/FontDataRange.h:65: bool isNull() const { return !fontData(); } ...
4 years, 10 months ago (2016-02-17 18:55:17 UTC) #12
drott
Review feedback addressed, this CL now depends on the updated version of the FontCache API ...
4 years, 9 months ago (2016-03-02 16:37:53 UTC) #14
eae
LGTM
4 years, 9 months ago (2016-03-02 18:27:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672553004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672553004/40001
4 years, 9 months ago (2016-03-03 05:33:32 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/189679)
4 years, 9 months ago (2016-03-03 07:01:08 UTC) #20
drott
TestExpectations update, more emoji shown
4 years, 9 months ago (2016-03-03 08:43:28 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672553004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672553004/60001
4 years, 9 months ago (2016-03-03 12:54:11 UTC) #24
commit-bot: I haz the power
CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
4 years, 9 months ago (2016-03-03 12:54:14 UTC) #26
drott
target branch changed
4 years, 9 months ago (2016-03-03 13:51:11 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672553004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672553004/80001
4 years, 9 months ago (2016-03-03 13:51:25 UTC) #30
drott
win rebaselines for emoji related test
4 years, 9 months ago (2016-03-03 16:56:04 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672553004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672553004/100001
4 years, 9 months ago (2016-03-03 16:56:47 UTC) #34
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-03 18:06:52 UTC) #35
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/978d4a1ba3d9654905378de192e64f9232e62798 Cr-Commit-Position: refs/heads/master@{#379036}
4 years, 9 months ago (2016-03-03 18:07:49 UTC) #37
Dmitry Titov
4 years, 9 months ago (2016-03-03 19:45:33 UTC) #38
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/1758383002/ by dimich@chromium.org.

The reason for reverting is: Broke layout tests:
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win10/builds/7227

See http://crbug.com/591778.

Powered by Google App Engine
This is Rietveld 408576698