diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-08-15 19:11:29 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-08-15 19:18:45 -0400 |
commit | 287d6ecd5f1a8683e2163bcde4bf36815082534f (patch) | |
tree | b9f3ed1c86d097101633755c667dd51ec138daa6 /tests | |
parent | 8e9d5884c32cebe2c26019ba914d7ce02368d0c4 (diff) | |
download | pango-287d6ecd5f1a8683e2163bcde4bf36815082534f.tar.gz |
break: Stop lumping ZWJ with Extend
ZWJ is treated as its own class in TR29, and us lumping
them together and then manually checking wc == 0x200d in
various places was causing us to inadvertedly inserting
grapheme breaks in the middle of Emoji ZWJ sequences
where they are not suppose to be.
Add test cases to verify this.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/EmojiBreakTest.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/EmojiBreakTest.txt b/tests/EmojiBreakTest.txt index d41b6477..3840ea1f 100644 --- a/tests/EmojiBreakTest.txt +++ b/tests/EmojiBreakTest.txt @@ -1,3 +1,8 @@ -÷ 1F3CC × FE0F × 200D ÷ 2642 × FE0F ÷ -÷ 1F3CC × 200D ÷ 2642 ÷ -# Lines: 2 +÷ 1F3CC × FE0F × 200D × 2642 × FE0F ÷ +÷ 1F3CC × 200D × 2642 ÷ +÷ 1F468 × 200D × 2695 × FE0F ÷ # man health worker +÷ 1F468 × 1F3FC × 200D × 2695 × FE0F ÷ # man health worker: medium-light skin tone +÷ 1F468 × 200D × 1F469 × 200D × 1F467 × 200D × 1F466 ÷ # family: man, woman, girl, boy +÷ 1F1E6 × 1F1FA ÷ # Australia +÷ 0031 × FE0F × 20E3 ÷ # keycap: 1 +# Lines: 7 |