commit | 82d1c443330785ae9561393880b92cbc44de7db2 | [log] [tgz] |
---|---|---|
author | Keisuke Kuroyanagi <ksk@google.com> | Wed Sep 14 14:30:14 2016 +0900 |
committer | Keisuke Kuroyanagi <ksk@google.com> | Wed Sep 14 14:30:14 2016 +0900 |
tree | 9ec8af6a294c80662985e9a6373cc9731ae7875b | |
parent | 86d086d06f7fb0ab5748df2ff9bc86718e47eedb [diff] |
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