diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-04 20:35:18 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-04 20:37:08 -0400 |
commit | 05ecb916e39b7a99634f650204f797e1bda9998a (patch) | |
tree | 4a053cd5294e4dbf326f1f3d5d4eec4a6ded97df | |
parent | 9552816ddad6b1d9f261e4e899c4813205a034f2 (diff) | |
download | pango-05ecb916e39b7a99634f650204f797e1bda9998a.tar.gz |
tests: Avoid bidi in test outputfix-break-test-output
When rendering the text char-by-char, use directional
controls to avoid any bidi reordering.
-rw-r--r-- | tests/test-break.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-break.c b/tests/test-break.c index 66c207a5..d59971a0 100644 --- a/tests/test-break.c +++ b/tests/test-break.c @@ -219,7 +219,9 @@ test_file (const gchar *filename, GString *string) !(g_unichar_type (ch) == G_UNICODE_LINE_SEPARATOR || g_unichar_type (ch) == G_UNICODE_PARAGRAPH_SEPARATOR)) { + g_string_append_unichar (string, 0x2066); // LRI g_string_append_unichar (string, ch); + g_string_append_unichar (string, 0x2069); // PDI g_string_append (s1, " "); g_string_append (s2, " "); g_string_append (s3, " "); |