summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-05-23 12:45:54 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-05-23 12:45:54 +0100
commitf78696249f13c56a1a738b4645d8e2978d67d5ce (patch)
treeefc0bfd02bfcb83e8c90d6542fac02c6645c8e9c /test
parent3ae8bce832cbd21831a26aeb4ac0d808900711f5 (diff)
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/get-path-extents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/get-path-extents.c b/test/get-path-extents.c
index 4123ddbe1..7d07aaba5 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);