summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-24 15:50:27 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-24 16:09:43 -0400
commit7fead4c8931b83c54e3c075a9c67320f583f4c95 (patch)
tree986155f866e7bbd6a69d331da248043a3e22a45b /tests
parent5bd5b70b516bcc764060c6b49d856a2ac80174c3 (diff)
downloadpango-7fead4c8931b83c54e3c075a9c67320f583f4c95.tar.gz
layout: Flip the logic for attribute filtering
Instead of filtering out the attributes we don't want to influence itemization, explicitly filter only those attributes that we want to affect itemization. This makes us no longer break items for custom attributes, such as GtkTextAppearance attributes that are created by GtkTextLayout. Update expected output for layout testcases.
Diffstat (limited to 'tests')
-rw-r--r--tests/layouts/valid-1.expected4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/layouts/valid-1.expected b/tests/layouts/valid-1.expected
index 292d6f43..6fb890b5 100644
--- a/tests/layouts/valid-1.expected
+++ b/tests/layouts/valid-1.expected
@@ -25,11 +25,11 @@ i=2, index=49, paragraph-start=1, dir=ltr ''
i=1, index=0, chars=22, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, 'This is a test of the '
i=2, index=22, chars=11, level=0, gravity=south, flags=0, font=OMITTED, script=latin, language=en-us, 'automatic e'
-[22,41]foreground=#00000000ffff
[22,41]underline=1
+[22,41]foreground=#00000000ffff
i=3, index=33, chars=15, level=0, gravity=south, flags=2, font=OMITTED, script=common, language=en-us, 'mergency brake!'
+[0,2147483647]foreground=#00000000ffff
[0,2147483647]fallback=0
[22,41]foreground=#00000000ffff
-[22,41]underline=1
i=4, index=48, no run, line end
i=5, index=49, no run, line end