From f78696249f13c56a1a738b4645d8e2978d67d5ce Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 23 May 2012 12:45:54 +0100 Subject: test: Increase surface size for get-path-extents Whilst generating a glyph run from a string, any glyphs that are far outside the surface (including a substantial guard region) are culled. This affects the path extents. Workaround this by increasing the surface size. Signed-off-by: Chris Wilson --- test/get-path-extents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/get-path-extents.c b/test/get-path-extents.c index 4123ddbe..7d07aaba 100644 --- a/test/get-path-extents.c +++ b/test/get-path-extents.c @@ -110,7 +110,7 @@ draw (cairo_t *cr, int width, int height) int errors = 0; surface = cairo_surface_create_similar (cairo_get_group_target (cr), - CAIRO_CONTENT_COLOR, 100, 100); + CAIRO_CONTENT_COLOR, 1000, 1000); /* don't use cr accidentally */ cr = NULL; cr2 = cairo_create (surface); -- cgit v1.2.3