Emoji sequence may be split in the middle by line breaking |
||
Issue descriptionEmoji ZWJ sequences like U+1F468 U+200D U+1F469 U+200D U+1F467 U+200D U+1F466 Family: man, woman, girl, boy may get split in the middle if they are placed at the end of a line and our line breaking code attempts to calculate where this emoji should be placed. This is the result of ICU's line break iterator suggesting break positions in the middle of these sequences. For now, we should customize the line breaking behaviour to avoid that, until issue 593260 is fixed.
,
Mar 11 2016
,
Nov 8 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/62d66e352097e36b6f7846b68f9e0b05eb9598ad commit 62d66e352097e36b6f7846b68f9e0b05eb9598ad Author: jshin <jshin@chromium.org> Date: Tue Nov 08 19:55:18 2016 Remove isBreakValid for Emoji sequences isBreakValid was added to avoid wrap lines in the middle of an Emoji sequence (ZWJ-linked or Emoji base + Emoji modifier), but it's not necessary any more now that ICU was updated to 58.1 that handles Emoji sequences correctly. BUG= 593263 TEST=blink_platform_unittest --gtest_filter=*BreakItera* Review-Url: https://codereview.chromium.org/2478383003 Cr-Commit-Position: refs/heads/master@{#430691} [modify] https://crrev.com/62d66e352097e36b6f7846b68f9e0b05eb9598ad/third_party/WebKit/Source/platform/text/TextBreakIterator.cpp [modify] https://crrev.com/62d66e352097e36b6f7846b68f9e0b05eb9598ad/third_party/WebKit/Source/platform/text/TextBreakIteratorTest.cpp |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Mar 11 2016