summaryrefslogtreecommitdiff
path: root/tests/layouts
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-06 19:33:29 -0700
committerMatthias Clasen <mclasen@redhat.com>2019-08-06 21:59:52 -0700
commit550aafc64bd823748efe88360eab9d95b9f5d4f2 (patch)
treee500555f04cefb9385dc6b94584c35571a0798df /tests/layouts
parent22dfeef4a26984ba81c6ff30117017dac372b706 (diff)
downloadpango-550aafc64bd823748efe88360eab9d95b9f5d4f2.tar.gz
Pass the right attributes when shaping ellipses
Now that we are splitting attributes into those that are relevant for itemization and shaping, we need to make sure to pass the right ones along when ellipsizing, or we risk picking a wildly mismatching font for the ellipsis run, causing things to shift vertically. Test included. Closes: https://gitlab.gnome.org/GNOME/pango/issues/397 Thanks to Jorge Luis Martinez Gomez for his help in tracking this down.
Diffstat (limited to 'tests/layouts')
-rw-r--r--tests/layouts/valid-1.expected2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/layouts/valid-1.expected b/tests/layouts/valid-1.expected
index 6fb890b5..923f244f 100644
--- a/tests/layouts/valid-1.expected
+++ b/tests/layouts/valid-1.expected
@@ -28,7 +28,7 @@ i=2, index=22, chars=11, level=0, gravity=south, flags=0, font=OMITTED, script=l
[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]underline=1
[0,2147483647]fallback=0
[22,41]foreground=#00000000ffff
i=4, index=48, no run, line end