summaryrefslogtreecommitdiff
path: root/pango/pango-break.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-04-25 00:33:29 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-04-25 00:33:29 +0000
commit8cb6363b7e598b0e4d4a4ef4229bed3d7a5d46c8 (patch)
tree53d111625613ddf6b7f50cc0bbde17e630c236a7 /pango/pango-break.h
parentf6b1fef713a035e4abcbe0d0fda54721a3560d5e (diff)
downloadpango-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 'pango/pango-break.h')
-rw-r--r--pango/pango-break.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-break.h b/pango/pango-break.h
index fe22acec..5c326dd4 100644
--- a/pango/pango-break.h
+++ b/pango/pango-break.h
@@ -74,6 +74,9 @@ struct _PangoLogAttr
* width during justification.
*/
guint is_expandable_space : 1;
+
+ /* Word boundary as defined by UAX#29 */
+ guint is_word_boundary : 1; /* is NOT in the middle of a word */
};
/* Determine information about cluster/word/line breaks in a string