diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-21 23:54:03 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-25 01:08:02 -0400 |
commit | b614ea2b06b3c9defaceb92b6904fa8a92249abe (patch) | |
tree | c20fdc8a2dc8a85561e3a8df5bf147d3c2888cd5 /tests/test-common.c | |
parent | 3aee7615e9a123ae750e49e9864bdaa4b267cdbb (diff) | |
download | pango-b614ea2b06b3c9defaceb92b6904fa8a92249abe.tar.gz |
Add segmentation attributesbreak-tailoring
Add attributes that let us override word and
sentence boundaries (and, indirectly, line breaks).
Tests included.
Diffstat (limited to 'tests/test-common.c')
-rw-r--r-- | tests/test-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-common.c b/tests/test-common.c index 011b2eef..0e3719e7 100644 --- a/tests/test-common.c +++ b/tests/test-common.c @@ -144,6 +144,8 @@ print_attribute (PangoAttribute *attr, GString *string) case PANGO_ATTR_SHOW: case PANGO_ATTR_TEXT_TRANSFORM: case PANGO_ATTR_ABSOLUTE_LINE_HEIGHT: + case PANGO_ATTR_WORD: + case PANGO_ATTR_SENTENCE: g_string_append_printf (string, "%d", ((PangoAttrInt *)attr)->value); break; case PANGO_ATTR_FONT_DESC: |