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 /pango/pango-layout.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 'pango/pango-layout.c')
-rw-r--r-- | pango/pango-layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 85f12f0a..ad56e8f9 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -4323,6 +4323,8 @@ affects_break_or_shape (PangoAttribute *attr, { /* Affects breaks */ case PANGO_ATTR_ALLOW_BREAKS: + case PANGO_ATTR_WORD: + case PANGO_ATTR_SENTENCE: /* Affects shaping */ case PANGO_ATTR_INSERT_HYPHENS: case PANGO_ATTR_FONT_FEATURES: |