From 86624627e4b196a78cfd9bd642299441e838e0f2 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 27 Jun 2009 17:53:18 +0100 Subject: [test] Add group-unaligned Test case for: Bug 22441 -- Unexpected shift with push_group and pop_group https://bugs.freedesktop.org/show_bug.cgi?id=22441 This is a test that demonstrates the error in the pdf backend when using groups on surfaces with non-integer sizes. In order to create such a surface, we need to update the boilerplate to use doubles instead of integers when specifying the surface size. --- test/cairo-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/cairo-test.c') diff --git a/test/cairo-test.c b/test/cairo-test.c index 715210f9..45b644b5 100644 --- a/test/cairo-test.c +++ b/test/cairo-test.c @@ -663,7 +663,7 @@ cairo_test_for_target (cairo_test_context_t *ctx, cairo_bool_t have_output = FALSE; cairo_bool_t have_result = FALSE; void *closure; - int width, height; + double width, height; cairo_bool_t have_output_dir; #if HAVE_MEMFAULT int malloc_failure_iterations = ctx->malloc_failure; -- cgit v1.2.3