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

Issue 1613153002: Add a SymbolsIterator to aid with Symbols Segmentation (Closed)

Created:
4 years, 11 months ago by drott
Modified:
4 years, 11 months ago
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, blink-reviews-wtf_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, Mikhail, 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

Add a SymbolsIterator to aid with Symbols Segmentation This allows us to have fine-grained control over emoji/text presentation and helps us with choosing fonts that are better suited for punctuation, arrows, line drawing, etc. for which fallback APIs often do not return suitable results. The categorization into text, symbols, math, emoji text, and emoji emoji presentation fonts is partially taken from what our Windows fallback code does for several Unicode blocks. Once this CL lands, we can simplify and remove these portions of code from the Windows font fallback code. The result of the symbol segmentation stage is a value FontFallbackPriority that guides prioritization of a font suitable for displaying this type of text in FontFallbackIterator. BUG=580074 R=behdad,eae,kojii Committed: https://crrev.com/906a9c113e5f5f4df8f7005fe0a0d834bacefbcb Cr-Commit-Position: refs/heads/master@{#370974}

Patch Set 1 #

Patch Set 2 : Update emoji data file reference to version 2.0 #

Total comments: 4

Patch Set 3 : Magic constants moved, EmojiEmoji enum value explained, formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+455 lines, -2 lines) Patch
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/fonts/FontFallbackPriority.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp View 1 chunk +17 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/fonts/SymbolsIterator.h View 1 chunk +39 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp View 1 2 1 chunk +156 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp View 1 chunk +195 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/text/CharacterNames.h View 1 2 6 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 45 (22 generated)
drott
Currently includes https://codereview.chromium.org/1604323002/ until that is landed.
4 years, 11 months ago (2016-01-21 14:52:24 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613153002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613153002/1
4 years, 11 months ago (2016-01-21 14:53:27 UTC) #4
drott
Update emoji data file reference to version 2.0
4 years, 11 months ago (2016-01-21 15:03:39 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613153002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613153002/20001
4 years, 11 months ago (2016-01-21 15:05:24 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-21 16:26:46 UTC) #10
eae
very nice, LGTM w/nit https://codereview.chromium.org/1613153002/diff/20001/third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp File third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp (right): https://codereview.chromium.org/1613153002/diff/20001/third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp#newcode30 third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp:30: if (codepoint == 0x20E3 || ...
4 years, 11 months ago (2016-01-22 00:38:32 UTC) #12
wkorman
lgtm https://codereview.chromium.org/1613153002/diff/20001/third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp File third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp (right): https://codereview.chromium.org/1613153002/diff/20001/third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp#newcode11 third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp:11: return fallbackPriority == FontFallbackPriority::Symbols Why not return fallbackPriority ...
4 years, 11 months ago (2016-01-22 00:50:45 UTC) #13
behdad
lgtm
4 years, 11 months ago (2016-01-22 12:50:52 UTC) #14
drott
Magic constants moved to CharacterNames, EmojiEmoji enum value explained, some formatting
4 years, 11 months ago (2016-01-22 14:04:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613153002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613153002/40001
4 years, 11 months ago (2016-01-22 14:04:44 UTC) #18
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, 11 months ago (2016-01-22 14:04:46 UTC) #20
drott
https://codereview.chromium.org/1613153002/diff/20001/third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp File third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp (right): https://codereview.chromium.org/1613153002/diff/20001/third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp#newcode11 third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp:11: return fallbackPriority == FontFallbackPriority::Symbols On 2016/01/22 00:50:45, wkorman wrote: ...
4 years, 11 months ago (2016-01-22 14:28:21 UTC) #22
drott
Magic constants moved, EmojiEmoji enum value explained, formatting
4 years, 11 months ago (2016-01-22 14:37:09 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613153002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613153002/60001
4 years, 11 months ago (2016-01-22 14:37:51 UTC) #27
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, 11 months ago (2016-01-22 14:37:53 UTC) #29
drott
Magic constants moved, EmojiEmoji enum value explained, formatting
4 years, 11 months ago (2016-01-22 14:48:07 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613153002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613153002/80001
4 years, 11 months ago (2016-01-22 14:48:23 UTC) #34
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/138125)
4 years, 11 months ago (2016-01-22 14:55:38 UTC) #36
drott
Mikhail, could you review the additional character literals? I am adding myself as OWNER for ...
4 years, 11 months ago (2016-01-22 15:03:44 UTC) #38
Mikhail
wtf/ lgtm
4 years, 11 months ago (2016-01-22 15:06:10 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613153002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613153002/80001
4 years, 11 months ago (2016-01-22 15:11:41 UTC) #41
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 11 months ago (2016-01-22 16:00:17 UTC) #43
commit-bot: I haz the power
4 years, 11 months ago (2016-01-22 16:01:49 UTC) #45
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/906a9c113e5f5f4df8f7005fe0a0d834bacefbcb
Cr-Commit-Position: refs/heads/master@{#370974}

Powered by Google App Engine
This is Rietveld 408576698