Skip to content
Commit 82d1c443 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi
Browse files

Make ellipsis START and MIDDLE grapheme cluster aware.

When text contains 2 emojis and each emoji has 2-code units,
the width array will be like [10, 0, 10, 0]. In this case,
without this CL, just the first code unit can be replaced
with the ellipsis marker. This CL makes ellipsis START and
MIDDLE grapheme cluster aware.
Note that ellipsis END is working properly even without
this CL.

Bug: 30613917

Change-Id: I38ff9793f2ea381460c50465c5470e0ad9a405b9
parent 86d086d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment