Commit c4be4f60 authored by Dominik Röttsches's avatar Dominik Röttsches Committed by Commit Bot

Add segmentation test for religious and political symbols

After feedback in
https://twitter.com/TiroTypeworks/status/1007383133061185536 ensure that
the mentioned characters are segmented correctly.

Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Change-Id: If9013658c6309678556ba87f39c1c9923acb86d7
Reviewed-on: https://chromium-review.googlesource.com/1105047
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568460}
parent 3fba0a95
......@@ -241,4 +241,15 @@ TEST_F(RunSegmenterTest, EmojiSubdivisionFlags) {
FontFallbackPriority::kEmojiEmoji}});
}
TEST_F(RunSegmenterTest, NonEmojiPresentationSymbols) {
CheckRunsHorizontal(
{{u8"\U00002626\U0000262a\U00002638\U0000271d\U00002721", USCRIPT_COMMON,
OrientationIterator::kOrientationKeep,
FontFallbackPriority::kEmojiText},
{u8"\U00002627\U00002628\U00002629\U0000262b\U0000262c\U00002670"
"\U00002671\U0000271f\U00002720",
USCRIPT_COMMON, OrientationIterator::kOrientationKeep,
FontFallbackPriority::kText}});
}
} // namespace blink
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment