diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-09 16:22:31 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-09 16:22:31 +0000 |
commit | 40aa32f1329e0d3fe4993c5955b94a24aedea836 (patch) | |
tree | 6c9d9c50fa3b655afe03d91779c4bb79119bf643 /tests/testmisc.c | |
parent | 608240c99736d8cddb3a340dc1a46ee32ca30cc0 (diff) | |
parent | cba71eea549a65aa229559206f9204665510d0aa (diff) | |
download | pango-40aa32f1329e0d3fe4993c5955b94a24aedea836.tar.gz |
Merge branch 'missing-zerowidth-chars' into 'master'
Add a few missing chars to pango_is_zero_width
See merge request GNOME/pango!368
Diffstat (limited to 'tests/testmisc.c')
-rw-r--r-- | tests/testmisc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testmisc.c b/tests/testmisc.c index c0f8c426..fe2e9075 100644 --- a/tests/testmisc.c +++ b/tests/testmisc.c @@ -178,6 +178,17 @@ test_is_zero_width (void) g_assert_true (pango_is_zero_width (0x034f)); g_assert_false (pango_is_zero_width ('a')); g_assert_false (pango_is_zero_width ('c')); + + g_assert_true (pango_is_zero_width (0x2066)); + g_assert_true (pango_is_zero_width (0x2067)); + g_assert_true (pango_is_zero_width (0x2068)); + g_assert_true (pango_is_zero_width (0x2069)); + + g_assert_true (pango_is_zero_width (0x202a)); + g_assert_true (pango_is_zero_width (0x202b)); + g_assert_true (pango_is_zero_width (0x202c)); + g_assert_true (pango_is_zero_width (0x202d)); + g_assert_true (pango_is_zero_width (0x202e)); } static void |