From 550aafc64bd823748efe88360eab9d95b9f5d4f2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 6 Aug 2019 19:33:29 -0700 Subject: 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. --- tests/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/meson.build') diff --git a/tests/meson.build b/tests/meson.build index c425665c..aa4b0c42 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -38,6 +38,7 @@ if cairo_dep.found() test_cflags += '-DHAVE_CAIRO' tests += [ [ 'testiter', [ 'testiter.c' ], [ libpangocairo_dep ] ], + [ 'test-ellipsize', [ 'test-ellipsize.c' ], [ libpangocairo_dep ] ], [ 'markup-parse', [ 'markup-parse.c' , 'test-common.c' ], [ libpangocairo_dep ] ], [ 'test-layout', [ 'test-layout.c', 'test-common.c' ], [ libpangocairo_dep ] ], [ 'test-itemize', [ 'test-itemize.c', 'test-common.c' ], [ libpangocairo_dep ] ], -- cgit v1.2.1