diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2008-04-25 00:33:29 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-04-25 00:33:29 +0000 |
commit | 8cb6363b7e598b0e4d4a4ef4229bed3d7a5d46c8 (patch) | |
tree | 53d111625613ddf6b7f50cc0bbde17e630c236a7 /tests/testboundaries_ucd.c | |
parent | f6b1fef713a035e4abcbe0d0fda54721a3560d5e (diff) | |
download | pango-8cb6363b7e598b0e4d4a4ef4229bed3d7a5d46c8.tar.gz |
Part of Bug 97545 – Make pango_default_break follow Unicode TR #29
2008-04-24 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 97545 – Make pango_default_break follow Unicode TR #29
* docs/tmpl/main.sgml:
* pango/break.c (pango_default_break):
* pango/pango-break.h:
* tests/testboundaries_ucd.c (main):
Add new PangoLogAttr member is_word_boundary, that implements UAX#29's
Word Boundaries semantics. Test fully passes for it.
svn path=/trunk/; revision=2618
Diffstat (limited to 'tests/testboundaries_ucd.c')
-rw-r--r-- | tests/testboundaries_ucd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testboundaries_ucd.c b/tests/testboundaries_ucd.c index 7e266f88..1e6d7d01 100644 --- a/tests/testboundaries_ucd.c +++ b/tests/testboundaries_ucd.c @@ -345,8 +345,7 @@ main (gint argc, filename = g_strdup_printf ("%s/WordBreakTest.txt", srcdir); bits.bits = 0; - bits.attr.is_word_start = 1; /* either word start or end */ - bits.attr.is_word_end = 1; /* (is this right?) */ + bits.attr.is_word_boundary = 1; do_test (filename, bits, FALSE); filename = g_strdup_printf ("%s/SentenceBreakTest.txt", srcdir); |